Thread (1 message) 1 message, 1 author, 2022-06-16

Re: [PATCH 11/11] bug_fl(): add missing `va_end()` call

From: Junio C Hamano <hidden>
Date: 2022-06-16 20:11:14

Jeff King [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help