Re: [PATCH v3 3/3] Use the newly-introduced regexec_buf() function
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 9, 2016, 09:52 UTC
- Message-ID
- <alpine.DEB.2.20.1609091151510.129229@virtualbox>
- In-Reply-To
- <xmqq1t0ujp2f.fsf@gitster.mtv.corp.google.com>
Hi Junio,
On Thu, 8 Sep 2016, Junio C Hamano wrote:
Show 7 quoted lines
> 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