From owner-cvs-src@FreeBSD.ORG Mon Aug 4 14:07:35 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.ORG Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 74D371065673 for ; Mon, 4 Aug 2008 14:07:35 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from xps.daemonology.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx2.freebsd.org (Postfix) with SMTP id 12E7A14E5AC for ; Mon, 4 Aug 2008 14:07:02 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: (qmail 43005 invoked from network); 4 Aug 2008 14:06:21 -0000 Received: from unknown (HELO xps.daemonology.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2008 14:06:21 -0000 Message-ID: <48970CDD.6090705@freebsd.org> Date: Mon, 04 Aug 2008 07:06:21 -0700 From: Colin Percival User-Agent: Thunderbird 2.0.0.16 (X11/20080730) MIME-Version: 1.0 To: Colin Percival , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200808040656.m746u26m094276@repoman.freebsd.org> <20080804135931.GA1132@zim.MIT.EDU> In-Reply-To: <20080804135931.GA1132@zim.MIT.EDU> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: cvs commit: src/lib/libc/stdio vfwprintf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 14:07:35 -0000 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