Bug 3589

Summary: CDTParser arrayOutOfBoundsException in johntheripper
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Rick Moseley <rmoseley>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 3392    

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.