mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1309] AddressSanitizer: global-buffer-overflow for gpg2john #830
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#830
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 @loverszhaokai on GitHub (May 14, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1309
Originally assigned to: @loverszhaokai on GitHub.
#1. Reproduce
$ ./configure --enable-asan && make -sj8
$ ../gpg2john failed_gpg
$ cat failed_gpg
#2. Analysis
The encrypted_Secret_Key() first parameter len can not be negative.
So could here add a check for len?
@magnumripper commented on GitHub (May 14, 2015):
Yeah it seems that would be sensible.