[GH-ISSUE #2264] memdbg checks are skipped if session was aborted or max run time reached. #1518

Closed
opened 2026-10-15 04:19:18 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @magnumripper on GitHub (Sep 8, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2264

Originally assigned to: @magnumripper on GitHub.

This is a "serious" bug, I can't believe we have missed it until now. The exit checks are only performed if a crack run ended because the mode was exhausted or all hashes were cracked. If user aborted with ctrl-c or 'q', or if --max-run-time was used, the exit checks never happened. For a while I thought memdbg was completely broken, until I realized this.

Originally created by @magnumripper on GitHub (Sep 8, 2016). Original GitHub issue: https://github.com/openwall/john/issues/2264 Originally assigned to: @magnumripper on GitHub. This is a "serious" bug, I can't believe we have missed it until now. The exit checks are only performed if a crack run ended because the mode was exhausted or all hashes were cracked. If user aborted with ctrl-c or 'q', or if --max-run-time was used, the exit checks never happened. For a while I thought memdbg was completely broken, until I realized this.
bsakaguchi 2026-10-15 04:19:18 +07:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#1518
No description provided.