summaryrefslogtreecommitdiffstats
path: root/utf8.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-05-01 08:28:52 +0200
committerDamien Miller <djm@mindrot.org>2020-05-01 08:40:11 +0200
commit31909696c4620c431dd55f6cd15db65c4e9b98da (patch)
treee385509001559d3a95443cf7d7fb7e8f6298d05a /utf8.h
parentupstream: avoid NULL dereference when attempting to convert invalid (diff)
downloadopenssh-31909696c4620c431dd55f6cd15db65c4e9b98da.tar.xz
openssh-31909696c4620c431dd55f6cd15db65c4e9b98da.zip
upstream: expose vasnmprintf(); ok (as part of other commit) markus
deraadt OpenBSD-Commit-ID: 2e80cea441c599631a870fd40307d2ade5a7f9b5
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/utf8.h b/utf8.h
index 20a11dc59..9d6d9a32c 100644
--- a/utf8.h
+++ b/utf8.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: utf8.h,v 1.2 2020/04/03 02:25:21 djm Exp $ */
+/* $OpenBSD: utf8.h,v 1.3 2020/05/01 06:28:52 djm Exp $ */
/*
* Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -15,6 +15,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+int vasnmprintf(char **, size_t, int *, const char *, va_list);
int mprintf(const char *, ...)
__attribute__((format(printf, 1, 2)));
int fmprintf(FILE *, const char *, ...)