mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Don't send warn/fatal output to the debug file when fuzzing.
This commit is contained in:
parent
a9a3a8e37b
commit
774b3c6e68
@ -28,6 +28,11 @@
|
||||
|
||||
#include "sudo_plugin.h" /* for conversation function */
|
||||
|
||||
/* No output to debug files when fuzzing. */
|
||||
#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
|
||||
# define SUDO_ERROR_WRAP 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
* We wrap fatal/fatalx and warn/warnx so that the same output can
|
||||
* go to the debug file, if there is one.
|
||||
|
Loading…
x
Reference in New Issue
Block a user