Hello,

When I use the latest strstr implemenation from gnulib in git, the following program crashes (causes Segmentation fault):

#include <string.h>
#include <stdio.h>

void main() {
  char *find = strstr ("**AB** **CD** **AB** **CD** **CD**", "**CD**");
  printf("%s\n", find);
}

It does not crash when I use strstr from libc-2.9 .

Със здраве
  Дилян

Reply via email to