[PATCH] regex: fix buffer read overrun in search [BZ#28470]
Andreas Schwab
schwab@linux-m68k.org
Thu Nov 25 09:01:47 GMT 2021
On Nov 24 2021, Paul Eggert wrote:
> On 11/24/21 14:45, Andreas Schwab wrote:
>> Is it? Why?
>
> Partly because it refuses to read past the bounds of an array, where the
> old code would.
That's just papering over a bug, not fixing it.
> And partly because it's been run through several tests - not just
> glibc tests, but also grep and coreutils and probably some others by
> now.
How much coverage do they provide?
Also, you failed to add a test.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list