diff options
author | van Hauser <vh@thc.org> | 2023-08-31 12:51:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-31 12:51:42 +0000 |
commit | 11a622c63d70c9ca16c9847418b88992139aa892 (patch) | |
tree | de0c523399eaf24544f7c0cbd61fe8d3c69c84f8 /src/afl-cc.c | |
parent | ad2af7caec2df6ceec87669864f47b9567c672af (diff) | |
parent | 1604351368c26a1dd91c43c054fb466b8093e86e (diff) | |
download | afl++-11a622c63d70c9ca16c9847418b88992139aa892.tar.gz |
Merge pull request #1847 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src/afl-cc.c')
-rw-r--r-- | src/afl-cc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c index 86b81459..12707007 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -317,7 +317,7 @@ void parse_fsanitize(char *string) { char *p, *ptr = string + strlen("-fsanitize="); char *new = malloc(strlen(string) + 1); - char *tmp = malloc(strlen(ptr)); + char *tmp = malloc(strlen(ptr) + 1); u32 count = 0, len, ende = 0; if (!new || !tmp) { FATAL("could not acquire memory"); } |