diff options
author | van Hauser <vh@thc.org> | 2022-07-15 10:12:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-15 10:12:35 +0200 |
commit | c57988e672634ee98048eba6432cc1f4e377e07c (patch) | |
tree | 1ea5ebbb0b47e8d55b1950e9b787ec9f254655af /qemu_mode/libqasan/patch.c | |
parent | 40947508037b874020c8dd1251359fecaab04b9d (diff) | |
parent | b847e0f414e7b310e1a68bc501d4e2453bfce70e (diff) | |
download | afl++-c57988e672634ee98048eba6432cc1f4e377e07c.tar.gz |
Merge pull request #1469 from AFLplusplus/dev
push to stable
Diffstat (limited to 'qemu_mode/libqasan/patch.c')
-rw-r--r-- | qemu_mode/libqasan/patch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qemu_mode/libqasan/patch.c b/qemu_mode/libqasan/patch.c index ee928ab3..15c4df15 100644 --- a/qemu_mode/libqasan/patch.c +++ b/qemu_mode/libqasan/patch.c @@ -130,8 +130,8 @@ int libc_perms; static void find_libc(void) { - FILE * fp; - char * line = NULL; + FILE *fp; + char *line = NULL; size_t len = 0; ssize_t read; @@ -147,7 +147,7 @@ static void find_libc(void) { fields = sscanf(line, "%" PRIx64 "-%" PRIx64 " %c%c%c%c %" PRIx64 " %x:%x %d" - " %512s", + " %511s", &min, &max, &flag_r, &flag_w, &flag_x, &flag_p, &offset, &dev_maj, &dev_min, &inode, path); |