diff options
author | vanhauser-thc <vh@thc.org> | 2023-10-03 11:14:59 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-10-03 11:14:59 +0200 |
commit | d97c7e42584e2c1e094a7c57fa469bf3b5b46b21 (patch) | |
tree | ede94d970eb489571f7f8fd4843db48cee3ea58d /instrumentation/afl-compiler-rt.o.c | |
parent | 63100d2012038ce67bdf20b624c8c53afd4b99c7 (diff) | |
download | afl++-d97c7e42584e2c1e094a7c57fa469bf3b5b46b21.tar.gz |
nits
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r-- | instrumentation/afl-compiler-rt.o.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index 85ee9f71..c3197c8a 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -666,6 +666,7 @@ static void __afl_map_shm(void) { } if (id_str) { + // /dev/null doesn't work so we use /dev/urandom if ((__afl_dummy_fd[1] = open("/dev/urandom", O_WRONLY)) < 0) { |