diff options
author | van Hauser <vh@thc.org> | 2020-12-23 14:58:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-23 14:58:52 +0100 |
commit | 7dc433a0c0efb236a2ab6fa4006a91aa02e26779 (patch) | |
tree | b0a48cd22af9aaa9695b61d08499232dbe9f0f36 /instrumentation/afl-compiler-rt.o.c | |
parent | 1078409875cacc5626a3961e08cf67c68049d22a (diff) | |
parent | 8d10d12ab344bdf6dfe0478e927c92278b4aac78 (diff) | |
download | afl++-7dc433a0c0efb236a2ab6fa4006a91aa02e26779.tar.gz |
Merge pull request #637 from AFLplusplus/dev
minor push to stable
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r-- | instrumentation/afl-compiler-rt.o.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index b1df26db..cddde87c 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -236,8 +236,8 @@ static void __afl_map_shm(void) { if (__afl_final_loc) { - if (__afl_final_loc % 8) - __afl_final_loc = (((__afl_final_loc + 7) >> 3) << 3); + if (__afl_final_loc % 32) + __afl_final_loc = (((__afl_final_loc + 31) >> 5) << 5); __afl_map_size = __afl_final_loc; if (__afl_final_loc > MAP_SIZE) { |