forked from OSchip/llvm-project
[asan] Mark the strstr test as UNSUPPORTED on FreeBSD
Like Android, FreeBSDs libc calls memchr which causes this test to fail. Reviewed By: emaste Differential Revision: https://reviews.llvm.org/D84541
This commit is contained in:
parent
9b19400004
commit
98b61112c3
|
@ -3,8 +3,8 @@
|
|||
|
||||
// Newer versions of Android's strstr() uses memchr() internally, which actually
|
||||
// does trigger a heap-buffer-overflow (as it tries to find the
|
||||
// null-terminator).
|
||||
// UNSUPPORTED: android
|
||||
// null-terminator). The same applies to FreeBSD.
|
||||
// UNSUPPORTED: android, freebsd
|
||||
// RUN: %env_asan_opts=strict_string_checks=false %run %t 2>&1
|
||||
|
||||
// RUN: %env_asan_opts=strict_string_checks=true not %run %t 2>&1 | FileCheck %s
|
||||
|
|
Loading…
Reference in New Issue