diff options
author | vanhauser-thc <vh@thc.org> | 2021-03-16 14:39:48 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-03-16 14:39:48 +0100 |
commit | 1227776251390956fb9bfb46b20373c3b70932e5 (patch) | |
tree | dfdf506c8dea20cb2b39c2bb1f2e5b602453bf58 /instrumentation/afl-compiler-rt.o.c | |
parent | 862cb3217f5983e5cfff6568f6b31fcf1e960802 (diff) | |
download | afl++-1227776251390956fb9bfb46b20373c3b70932e5.tar.gz |
fix cmplog
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r-- | instrumentation/afl-compiler-rt.o.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index 32dbc53d..50b4e2c5 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -1741,7 +1741,7 @@ static int area_is_valid(void *ptr, size_t len) { char *page = (char *)((uintptr_t)p & ~(page_size - 1)) + page_size; if (page >= p + len) { return 0; } // no isnt, return fail len = page - p - len; - r = syscall(SYS_write, __afl_dummy_fd[1], p, len); + r = syscall(SYS_write, __afl_dummy_fd[1], page, len); } |