Revert "SIGSEGV in Sanitizer INTERCEPTOR of strstr function."
authorVitaly Buka <vitalybuka@google.com>
Thu, 6 Jan 2022 05:25:26 +0000 (21:25 -0800)
committerVitaly Buka <vitalybuka@google.com>
Thu, 6 Jan 2022 05:28:01 +0000 (21:28 -0800)
commit6396a4436145930f1bf0171219214c9f202019be
treea11a3cc618a050cc247d0d8cde158cd08eb1473f
parent50b5b367c1ae72be5265f81b4dba03b3deb0c4e4
Revert "SIGSEGV in Sanitizer INTERCEPTOR of strstr function."

Breaks Asan on Fuchsia's and ubsan with gcc.

This reverts commit 685c94c6cbba4f2bf076b01fd3e0dcb4b1425b53.
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
compiler-rt/lib/sanitizer_common/sanitizer_libc.cpp
compiler-rt/test/sanitizer_common/TestCases/strstr.c