Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Aug 2008 07:06:21 -0700
From:      Colin Percival <cperciva@freebsd.org>
To:        Colin Percival <cperciva@FreeBSD.ORG>, src-committers@FreeBSD.ORG,  cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libc/stdio vfwprintf.c
Message-ID:  <48970CDD.6090705@freebsd.org>
In-Reply-To: <20080804135931.GA1132@zim.MIT.EDU>
References:  <200808040656.m746u26m094276@repoman.freebsd.org> <20080804135931.GA1132@zim.MIT.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48970CDD.6090705>