This commit is contained in:
van Hauser
2021-02-01 15:51:04 +01:00
parent 812cf4c9e0
commit 32110a04c0
2 changed files with 21 additions and 19 deletions

View File

@ -981,7 +981,7 @@ u8 *u_stringify_time_diff(u8 *buf, u64 cur_ms, u64 event_ms) {
/* Reads the map size from ENV */
u32 get_map_size(void) {
uint32_t map_size = MAP_SIZE;
uint32_t map_size = (MAP_SIZE << 2); // needed for target ctors :(
char * ptr;
if ((ptr = getenv("AFL_MAP_SIZE")) || (ptr = getenv("AFL_MAPSIZE"))) {