Skip to content

Commit

Permalink
fuzzing: Check that Intbuf was successfully allocated
Browse files Browse the repository at this point in the history
  • Loading branch information
ianichitei authored Sep 23, 2024
1 parent 7bc0070 commit 34a0880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bdshemu_fuzz/bdshemu_fuzzer.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void run_shemu(uint8_t *Data, size_t Size)
}

ctx.Intbuf = calloc(1, Size + 0x2000);
if (ctx.Stack == NULL)
if (ctx.Intbuf == NULL)
{
LOG("[-] Failed to allocate Intbuf!\n");
abort();
Expand Down

0 comments on commit 34a0880

Please sign in to comment.