Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@magnumripper
Copy link
Member

Check for feof() before parsing errno. Similar fixes should probably be made to a lot of other files throughout our tree.

See #5860

Check for feof() before parsing errno. Similar fixes should probably be
made to a lot of other files throughout our tree.

See openwall#5860
We were printing the error but then chugged along producing a b0rken
hash that would be uncrackable.
Check for feof() before parsing errno. Similar fixes should probably be
made to a lot of other files throughout our tree.

See openwall#5860
@magnumripper
Copy link
Member Author

Added same fixes for keepass2john as well. I expected to find more problems but I only searched for strerror(errno) - apparently we often basically just say "failed" which is correct as-is (although could be amended with this ternary for a better description of the problem).

@magnumripper magnumripper merged commit e9b9c57 into openwall:bleeding-jumbo Oct 10, 2025
32 of 33 checks passed
@magnumripper magnumripper deleted the rar2john-failure-message branch October 10, 2025 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants