We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 583c84a commit b20fda2Copy full SHA for b20fda2
libafl_targets/src/cmplog.c
@@ -60,7 +60,7 @@ static long area_is_valid(const void *ptr, size_t len) {
60
valid_len = (long)len;
61
#elif defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
62
if (!dymmy_initialized) {
63
- if ((dummy_fd[1] = open("/dev/null", O_WRONLY)) < 0) {
+ if ((dummy_fd[1] = open("/dev/urandom", O_WRONLY)) < 0) {
64
if (pipe(dummy_fd) < 0) { dummy_fd[1] = 1; }
65
}
66
dymmy_initialized = 1;
0 commit comments