mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2236] oracle9i format error in prepare (ASan), triggered when processing odf or vtp hashes #1492
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#1492
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 @frank-dittrich on GitHub (Aug 25, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2236
I get the same error for an ASan build without debug, the debug is just ti get a usable backtrace.
@frank-dittrich commented on GitHub (Aug 25, 2016):
For some reason, there's
oracle9i_fmt_plug.c:126in the backtrace when testing odf format!@frank-dittrich commented on GitHub (Aug 25, 2016):
I get the same error with vtp format, also with oracle9i_fmt_plug.c in the backtrace!
@frank-dittrich commented on GitHub (Aug 25, 2016):
when I move the oracle9i format out of the way, the problem disappears.
@frank-dittrich commented on GitHub (Aug 25, 2016):
On my Fedora 24 system, I get an ASan error:
But that one also has
oracle9i_fmt_plug.cin the backtrace!And vtp as well:
@frank-dittrich commented on GitHub (Aug 25, 2016):
Adding
--format=vtpto the command line also makes that ASan error disappear.So this really is an error in oracle9i prepare() which is triggered by odf or vtp hashes.
@jfoug commented on GitHub (Aug 25, 2016):
Let me look into it later today. It may be a promiscuous valid, or something else. There is a hard coded buffer in prepare, that should have been more than large enough, BUT I need to get my head around order. I was thinking valid was called prior to prepare, but I think I am wrong in that assumption, and the code is bad.
@frank-dittrich commented on GitHub (Aug 25, 2016):
I think prepare() is called before valid().
@jfoug commented on GitHub (Aug 25, 2016):
yes it is, and the code is very bad. I will get that and a few other things cleaned up this morning.
@jfoug commented on GitHub (Aug 25, 2016):
Fixed in
a5bc4f7