mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1014] PRINCE mode segfault #614
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#614
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @magnumripper on GitHub (Jan 11, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1014
This beats me. Test case:
This never segfaults:
But this segfaults almost (but not quite) every time:
When it segfaults, it's because salt is NULL
This must be some kind of buffer overrun but I can't see how/why/where it could happen, and ASan does not catch it.
@magnumripper commented on GitHub (Jan 11, 2015):
BTW here's how to build pp64 with ASan so you are sure to run the exact same version as in JtR:
The last -DOSX can also be -DWINDOWS or -DLINUX.
@magnumripper commented on GitHub (Jan 11, 2015):
Another reason could be that we call crk_process_key() even though everything was already cracked.
7223927fixes such bug and I really thought that was it, but it still segfaults.@magnumripper commented on GitHub (Jan 11, 2015):
LOL, I was right - but there were more levels of loops and we had to break out of them all.