diff options
author | van Hauser <vh@thc.org> | 2023-10-23 09:14:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 09:14:18 +0200 |
commit | 85c5b5218c6a7b2289f309fbd1625a5d0a602a00 (patch) | |
tree | 148f0c2c459c972f56a7a8f5bef3d5205aaf6d83 /instrumentation/afl-compiler-rt.o.c | |
parent | d09950f4bb98431576b872436f0fbf773ab895db (diff) | |
parent | eaa6a1754a2efa54903959a5b3ce3d433dcdea37 (diff) | |
download | afl++-85c5b5218c6a7b2289f309fbd1625a5d0a602a00.tar.gz |
Merge pull request #1896 from AFLplusplus/dev
push to stable
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) { |