mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-28 12:57:50 +00:00
Fix logic goof in 05781ba6f1f3, disable replacements when fuzzing.
Not the other way around.
This commit is contained in:
parent
4b0dc2eecb
commit
acee3ea6ef
6
configure
vendored
6
configure
vendored
@ -18118,9 +18118,9 @@ then :
|
||||
fi
|
||||
|
||||
|
||||
# Do not use our replacement functions when fuzzing, it may
|
||||
# skew the coverage reports.
|
||||
if test X"$enable_fuzzer" != X"no"; then
|
||||
# Only use our replacement functions when not fuzzing,
|
||||
# they may skew the coverage reports.
|
||||
if test X"$enable_fuzzer" = X"no"; then
|
||||
# glibc's getentropy() emulation may fail on older kernels.
|
||||
# We use our own getentropy() by default on Linux.
|
||||
: ${ac_cv_func_getentropy='no'}
|
||||
|
@ -2092,9 +2092,9 @@ case "$host" in
|
||||
# We call getrandom via syscall(3) in case it is not in libc
|
||||
AC_CHECK_HEADERS([linux/random.h sys/syscall.h])
|
||||
|
||||
# Do not use our replacement functions when fuzzing, it may
|
||||
# skew the coverage reports.
|
||||
if test X"$enable_fuzzer" != X"no"; then
|
||||
# Only use our replacement functions when not fuzzing,
|
||||
# they may skew the coverage reports.
|
||||
if test X"$enable_fuzzer" = X"no"; then
|
||||
# glibc's getentropy() emulation may fail on older kernels.
|
||||
# We use our own getentropy() by default on Linux.
|
||||
: ${ac_cv_func_getentropy='no'}
|
||||
|
Loading…
x
Reference in New Issue
Block a user