Hi Junio, On Thu, 8 Sep 2016, Junio C Hamano wrote: > Please give these three patches a common prefix, e.g. > > regex: -G<pattern> 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