diff options
Diffstat (limited to 'test/fuzz_hook_int.c')
-rw-r--r-- | test/fuzz_hook_int.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/fuzz_hook_int.c b/test/fuzz_hook_int.c index 53ac711..f3058b3 100644 --- a/test/fuzz_hook_int.c +++ b/test/fuzz_hook_int.c @@ -131,7 +131,8 @@ int main(int argc, char **argv) uint32_t fsize = data[cursor++]; if (fsize == 0) { /* 'copy' sink */ - new_fileno = open("/dev/null", O_WRONLY); + new_fileno = open("/dev/null", + O_WRONLY | O_NOCTTY); if (new_fileno == -1) { wp_error("Failed to open /dev/null"); } |