Index: llvm/trunk/lib/Fuzzer/test/InitializeTest.cpp =================================================================== --- llvm/trunk/lib/Fuzzer/test/InitializeTest.cpp +++ llvm/trunk/lib/Fuzzer/test/InitializeTest.cpp @@ -20,7 +20,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { if (Size == strlen(argv0) && - !strncmp(reinterpret_cast(Data), argv0, Size)) { + !strnstr(reinterpret_cast(Data), argv0, Size)) { fprintf(stderr, "BINGO %s\n", argv0); exit(1); }