my strstr is broken

Siddhesh Poyarekar
Tue Sep 11 14:21:00 GMT 2018

On Tue, 11 Sep 2018 at 19:24, Michael Brunnbauer <> wrote:
> I attached my code as file to my first mail. But your program works as well:
> s = (nil)
> Segmentation fault
> Some info about my environment:
> Linux Kernel 4.9.124 (recently updated from 3.16)
> Glibc 2.28
> gcc 7.3.0

Is this a non-x86 architecture?  I can reproduce this on the glibc
2.28 tag when I hack the ifunc resolver to ignore
__strstr_sse2_unaligned and always use the stock __strstr.

It looks like the test case is fixed on trunk, with[1], but I'll take
a closer look at it later to confirm.




More information about the Libc-help mailing list