Skip to content

Commit f23f03b

Browse files
committed
afl-showmap: restore latest code after git cherry-pick
1 parent 19dfb85 commit f23f03b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/afl-showmap.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,10 +1607,11 @@ int main(int argc, char **argv_orig, char **envp) {
16071607
/* no need to terminate the nyx runner */
16081608
if (!fsrv->nyx_mode) {
16091609
#endif
1610-
afl_shm_deinit(&shm);
1611-
afl_fsrv_kill(fsrv);
1612-
fsrv->map_size = new_map_size;
1613-
fsrv->trace_bits = afl_shm_init(&shm, new_map_size, 0);
1610+
afl_shm_deinit(&shm);
1611+
afl_fsrv_kill(fsrv);
1612+
fsrv->map_size = new_map_size;
1613+
fsrv->trace_bits =
1614+
afl_shm_init(&shm, new_map_size, 0, DEFAULT_PERMISSION, -1);
16141615
#ifdef __linux__
16151616
}
16161617
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy