diff options
Diffstat (limited to 'src/afl-cc.c')
-rw-r--r-- | src/afl-cc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c index 4c377ad1..ffd15476 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -316,6 +316,8 @@ void parse_fsanitize(char *string) { char *new = malloc(strlen(string) + 1); char *tmp = malloc(strlen(ptr)); u32 count = 0, len, ende = 0; + + if (!new || !tmp) { FATAL("could not aquire memory"); } strcpy(new, "-fsanitize="); do { |