mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 03:18:07 +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;
|
trace_bits = g_shm_base;
|
||||||
|
|
||||||
if (!trace_bits) PFATAL("mmap() failed");
|
if (trace_bits == -1 || !trace_bits) PFATAL("mmap() failed");
|
||||||
|
|
||||||
#else
|
#else
|
||||||
u8 *shm_str;
|
u8 *shm_str;
|
||||||
|
Reference in New Issue
Block a user