cvs commit: src/lib/libc/stdio vfwprintf.c

Colin Percival cperciva at freebsd.org
Mon Aug 4 14:07:35 UTC 2008


David Schultz wrote:
> On Mon, Aug 04, 2008, Colin Percival wrote:
>>   Initialize "nconv" to a reasonable value in all code paths.  Prior to
>>   this commit, sprintf("%s", "") could fail depending on what happened
>>   to be on the stack.
> 
> I think you mean swprintf() here.

Oops.  I typoed -- I actually meant wprintf, but I guess my fingers "corrected"
what I was typing since I never use the wide printf functions but use sprintf
quite commonly. :-)

Colin Percival


More information about the cvs-src mailing list