Bug 3589 - CDTParser arrayOutOfBoundsException in johntheripper
Summary: CDTParser arrayOutOfBoundsException in johntheripper
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Rick Moseley
URL:
Keywords:
Depends on:
Blocks: 3392
  Show dependency treegraph
 
Reported: 2006-11-24 20:39 UTC by Mike Cvet
Modified: 2007-11-19 16:37 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Cvet 2006-11-24 20:39:21 UTC
Johntheripper is a password cracker written in C, and a relatively small 
program. 

Compiling it with debuginfo and removing strip options from the linker, and 
then running that binary through frysk results in :


java.lang.ArrayIndexOutOfBoundsException: 3
   at frysk.dom.cparser.CDTParser.getIncPaths(FryskGui)
   at frysk.dom.cparser.CDTParser.parse(FryskGui)
   at frysk.dom.DOMFactory.createDOM(FryskGui)
   at frysk.gui.srcwin.SourceWindow.generateProcStackTrace(FryskGui)
   at frysk.gui.srcwin.SourceWindow.finishSourceWin(FryskGui)
   at frysk.gui.srcwin.SourceWindow$LockObserver$25.run(FryskGui)
   at org.gnu.glib.CustomEvents.runEvents(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.gtk_main(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.main(libgtkjava-2.8.so)
   at frysk.gui.Gui.gui(FryskGui)
   at frysk.gui.FryskGui.main(FryskGui)
Comment 1 Rick Moseley 2007-11-19 16:37:45 UTC
Fixed a long time ago.  Put checks for a lot of different exceptions in the
CDTParser.java module so it does not abort when things like this are found.