one_gadget icon indicating copy to clipboard operation
one_gadget copied to clipboard

Check for false positives in jmp_case_candidates

Open CptGibbon opened this issue 3 years ago • 1 comments

Add a check for gadgets that don't end in a call execve in jmp_case_candidates() This avoids an error in Ruby versions < 2.6.0 when passing nil to a range.

Resolves #197

CptGibbon avatar Jul 28 '22 21:07 CptGibbon

Thanks for contributing! The fix looks great, just need to fix the style suggestion as rubocop suggested

david942j avatar Jul 30 '22 07:07 david942j

Thanks for the fix!

david942j avatar Aug 12 '22 13:08 david942j