Skip to content

Commit

Permalink
Final fix for that segmentation fault
Browse files Browse the repository at this point in the history
  • Loading branch information
alfiecg24 committed Jan 22, 2024
1 parent 7e38d10 commit cb5d2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exploit/exploit.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ bool checkm8(enum ExploitMode mode) {
goto finished;
}

reset_usb_handle(handle);
if (stage != STAGE_JAILBREAK) { reset_usb_handle(handle); }

// If a stage fails, and it's not the reset stage, we should stop
if (!ret && stage != STAGE_HEAP_SPRAY) { goto finished; }
Expand Down

0 comments on commit cb5d2cd

Please sign in to comment.