From: Junio C Hamano Date: Thu, 16 Jun 2022 20:11:03 GMT Subject: Re: [PATCH 11/11] bug_fl(): add missing `va_end()` call Message-ID: In-Reply-To: Jeff King writes: > Being the curious sort, I ran it in a debugger. And indeed, "cp" is > filled with uninitialized garbage. The reason it works is that the test > calls bug() with a format string that does not contain any placeholders. > And thus our eventual call to vsnprintf() does not ever look at "cp" at > all! ;-) Thanks.