Closed GoogleCodeExporter closed 9 years ago
Thanks for the report Scott! The core doesn't give a lot information, could you
perhaps try to reproduce the crash with a freshly made debug build ? Running
"make clean debug", doing the scan and sending the data?
Cheers!
Niels
Original comment by niels.he...@gmail.com
on 3 Mar 2012 at 1:04
Hey Scott,
I suspect the cause is in line 3490 of crawler.c where:
if (req->user_val != 2) return 0;
Should be:
if (req->user_val != 4) return 0;
Could you try and reproduce with that?
Cheers!
Niels
Original comment by niels.he...@gmail.com
on 5 Mar 2012 at 8:34
Hi Niels,
Thanks for helping me out with this. I changed crawler.c (weirdly, my line was
about 1500, not 3490), ran make again and it still seg faulted. I then followed
the directions as before to get the dump and it is attached.
Original comment by Scott.Ro...@gmail.com
on 5 Mar 2012 at 5:45
Attachments:
Thanks for re-testing! I've actually been scanning all day without one crash
*sigh* ;-( Based on the debug info, this seems to point at the callback
testing.
Could you try the attach patch? It takes away the evil code and should fix the
problem.
Cheers!
Niels
Original comment by niels.he...@gmail.com
on 5 Mar 2012 at 6:25
Attachments:
BTW, could you perhaps also give me the exact command-line used to perform this
scan?
Cheers,
Niels
Original comment by niels.he...@gmail.com
on 5 Mar 2012 at 6:42
Ah never mind, I found the bug and can reproduce it. New release heading your
direction!
Original comment by niels.he...@gmail.com
on 5 Mar 2012 at 7:47
Hey Scott,
Again, thanks for the report! Based on your latest debug info I could reproduce
the issue and write a decent fix. The 2.05b release has this fix and can be
downloaded here:
http://skipfish.googlecode.com/files/skipfish-2.05b.tgz
Niels
Original comment by niels.he...@gmail.com
on 5 Mar 2012 at 7:57
No seg fault this time. Fix worked.
Thanks for the help!
Original comment by Scott.Ro...@gmail.com
on 5 Mar 2012 at 8:38
Awesome! Thanks for verifying and reporting!
Niels
Original comment by niels.he...@gmail.com
on 5 Mar 2012 at 8:42
Original issue reported on code.google.com by
Scott.Ro...@gmail.com
on 2 Mar 2012 at 5:20Attachments: