mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1356] Mask mode: asan error #853
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#853
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 27, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1356
#1. Analysis
Use
strlenon a pointer to buffer.#2. Reproduce
$ ./configure --enable-asan && make -sj8
$ cat test_pw
$ ../john test_pw --mask
@sayan1an commented on GitHub (May 27, 2015):
Hi kai,
I seem to be unable to reproduce this error on my system!!
On which system did you run, super and well doesn't seem to have ASAN compatible gcc.
@loverszhaokai commented on GitHub (May 27, 2015):
@Sayantan2048
Have you enable asan ?
I did on my local computer.
$ ./configure --enable-asan
@sayan1an commented on GitHub (May 27, 2015):
Yes I do have asan Enabled!!
Configured for building John the Ripper jumbo:
@loverszhaokai commented on GitHub (May 27, 2015):
@Sayantan2048
Can you try this ?
$ ../john test_pw --mask
@sayan1an commented on GitHub (May 27, 2015):
I still can't reproduce it. However, I think I know how to solve this issue.
@loverszhaokai commented on GitHub (May 27, 2015):
@Sayantan2048
What's you compiler ? GCC ?
My gcc version:
@sayan1an commented on GitHub (May 27, 2015):
Mine is:
gcc version 4.8.1 (Ubuntu 4.8.1-2ubuntu1~12.04)
However, I think the above change should solve the issue. Does it?
@loverszhaokai commented on GitHub (May 27, 2015):
@Sayantan2048
$ gcc-4.8 -v
I use gcc-4.8 can not reproduce either.
👍 Yes the problem solved by that.
Also we can move the line 1244 before line 1223.
@sayan1an commented on GitHub (May 27, 2015):
Yes, Indeed!! Fixed commit
3b569f493e@magnumripper commented on GitHub (May 27, 2015):
I use to run ASan on well, with PATH changed to use gcc-4.9