This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: my strstr is broken
+cc libc-alpha
On Tue, Sep 11, 2018 at 7:51 AM Siddhesh Poyarekar
<siddhesh.poyarekar@gmail.com> wrote:
> The stock __strstr has a bug, which seems to have been fixed on master
> with the commit I mentioned.
This is the second time in my (short) memory strstr got broken with
very long inputs
(https://sourceware.org/bugzilla/show_bug.cgi?id=12092).
There was also https://sourceware.org/bugzilla/show_bug.cgi?id=14602
It seems that testing of strstr is entirely inadequate: (AFAICT) we
only test the IFUNC-selected version, and only on small set of inputs.
I filed https://sourceware.org/bugzilla/show_bug.cgi?id=23631
--
Paul Pluzhnikov