Re: [PATCH] diff: avoid stack-buffer-read-overrun for very long name From: Junio C Hamano <hidden> Date: 2016-06-15 22:53:41 Andreas Ericsson [off-list ref] writes: quotedI am not good at names, but strbuf_terminate_with(&buffer2, '/') perhaps?"terminate" sounds pretty final though. Yeah, but that function is adding a record terminator to the buffer, so... How about strbuf_ensure_suffixch()? It embeds the 'ch', marking it as a char argument... Perhaps.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help