From 1516435cbbafda71d62a721e35543e08bef77989 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 20 Apr 2008 09:51:46 +0200 Subject: [PATCH] Document snprintf bug on Linux libc5. --- doc/posix-functions/snprintf.texi | 4 ++++ doc/posix-functions/vsnprintf.texi | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/doc/posix-functions/snprintf.texi b/doc/posix-functions/snprintf.texi index 66ef6a936..d58861409 100644 --- a/doc/posix-functions/snprintf.texi +++ b/doc/posix-functions/snprintf.texi @@ -11,6 +11,10 @@ Portability problems fixed by either Gnulib module @code{snprintf} or @code{snpr @item This function is missing on some platforms: OSF/1 4.0, Solaris 2.5.1. +@item +This function overwrites memory even when a size argument of 1 is passed on some +platforms: +Linux libc5. @end itemize Portability problems fixed by Gnulib module @code{snprintf-posix}: diff --git a/doc/posix-functions/vsnprintf.texi b/doc/posix-functions/vsnprintf.texi index f3477f09f..bd14f000a 100644 --- a/doc/posix-functions/vsnprintf.texi +++ b/doc/posix-functions/vsnprintf.texi @@ -11,6 +11,10 @@ Portability problems fixed by either Gnulib module @code{vsnprintf} or @code{vsn @item This function is missing on some platforms: OSF/1 4.0, Solaris 2.5.1. +@item +This function overwrites memory even when a size argument of 1 is passed on some +platforms: +Linux libc5. @end itemize Portability problems fixed by Gnulib module @code{vsnprintf-posix}: -- 2.11.0