mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 11:08:06 +00:00
catch if shmat fails
This commit is contained in:
@ -146,7 +146,7 @@ void setup_shm(unsigned char dumb_mode) {
|
||||
|
||||
trace_bits = g_shm_base;
|
||||
|
||||
if (!trace_bits) PFATAL("mmap() failed");
|
||||
if (trace_bits == -1 || !trace_bits) PFATAL("mmap() failed");
|
||||
|
||||
#else
|
||||
u8 *shm_str;
|
||||
|
Reference in New Issue
Block a user