[PATCH] regexec: Fix off-by-one bug in weight comparison [BZ #23036]

Carlos O'Donell carlos@redhat.com
Mon Jul 9 19:19:00 GMT 2018


On 07/09/2018 02:55 PM, Adhemerval Zanella wrote:
> 
> 
> On 09/07/2018 15:00, Carlos O'Donell wrote:
>> On 07/09/2018 01:20 PM, Florian Weimer wrote:
>>> 2018-07-09  Florian Weimer  <fweimer@redhat.com>
>>>
>>> 	[BZ #23036]
>>> 	* posix/regexec.c (check_node_accept_bytes): When comparing
>>> 	weights, do not compare an extra byte after the end of the
>>> 	weights.
>>
>> I assume that this fixes the issue and that you have minimally passed
>> the regression testing for x86_64. I would like a test for this, but it
>> can wait. This regression is a blocker for the release, and I appreciate
>> your root cause analysis of the issue.
> 
> I still think we should add a regression test for it, the bug report
> have one quite simple which we can add as an independent test (which
> should not invalidate testsuite validation already done).

I agree. However, the testsuite can take all the way until August 1st
for us to get done. I imagine Florian posted this early because it's
a release blocker and we want review right away.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list