vsprintf considered dangerous

Karl Heuer karl at haddock.ISC.COM
Tue Apr 5 06:49:49 AEST 1988


In article <1219 at ucsfcca.ucsf.edu> roland at rtsg.lbl.gov (Roland McGrath) writes:
>[The GNU C library has snprintf() and vsnprintf()]

This problem came up some time ago in this newsgroup, and I thought I heard it
said that X3J11 recognized the need for a "safe" sprintf() and would be adding
snprintf() to the ANSI library.  Whatever happened to that proposal?

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint
(Note: comp.std.c is no longer moderated)



More information about the Comp.std.c mailing list