mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2277] *2john tools fail in CPU fallback due to path_init() is not been called soon enough #1526
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#1526
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 @ghost on GitHub (Sep 17, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2277
Isn't a patch like this mandatory?
@magnumripper commented on GitHub (Sep 18, 2016):
john Proper has it in
john_init()right after the...so even later than Jumbo.
@magnumripper commented on GitHub (Sep 18, 2016):
In Jumbo it was placed at current position after
9852e5e8and9e5f65aa@ghost commented on GitHub (Sep 19, 2016):
BTW: probably a better subject (and test case) should be:
*2john tools fail in CPU fallback due to path_init() is not been called soon enough.
Test case:
Move path_init() to main, line 1900, for example.
@ghost commented on GitHub (Sep 19, 2016):
path_init() is necessary before any 2john CPU fallback. Not inside john_init(). An example:
@ghost commented on GitHub (Sep 19, 2016):
Because CPU fallback needs to know "$JOHN/".
@ghost commented on GitHub (Sep 19, 2016):
Ah! There is no "$JOHN" in john Proper.
@magnumripper commented on GitHub (Sep 19, 2016):
Oh. That explains it. So your original patch is likely what we need.