cvs commit: src/lib/libc/stdio vsnprintf.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed May 14 21:00:26 PDT 2008
dillon 2008/05/14 20:59:59 PDT
DragonFly src repository
Modified files:
lib/libc/stdio vsnprintf.c
Log:
The char dummy must be dummy[2] to accomodate a nul terminator when dealing
with a degenerate buffer size.
Submitted-by: Johannes Hofmann <Johannes.Hofmann at gmx.de>
Taken-from: FreeBSD
Revision Changes Path
1.9 +4 -2 src/lib/libc/stdio/vsnprintf.c
http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/vsnprintf.c.diff?r1=1.8&r2=1.9&f=u
More information about the Commits
mailing list