From: Johannes Schindelin Date: Fri, 09 Sep 2016 09:52:50 GMT Subject: Re: [PATCH v3 3/3] Use the newly-introduced regexec_buf() function Message-ID: In-Reply-To: Hi Junio, On Thu, 8 Sep 2016, Junio C Hamano wrote: > Please give these three patches a common prefix, e.g. > > regex: -G feeds a non NUL-terminated string to regexec() and fails > regex: add regexec_buf() that can work on a non NUL-terminated string > regex: use regexec_buf() > > or something like that. Done. > Also I agree with Peff that a test with an embedded NUL would be a > good thing. This is something I will leave to somebody else, as it was not my intention to fix this and I *really* have more pressing things to do right now... Sorry! Ciao, Dscho