priaonehaha / skipfish

Automatically exported from code.google.com/p/skipfish
Apache License 2.0
0 stars 0 forks source link

skipfish segfault at crawler.c on ./skipfish -LVY -W dictionaries/complete.wl ... #122

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I tried to run skipfish as
./skipfish -LVY -W dictionaries/complete.wl ... ,

skipfish crashed at crawler.c +645:

if (!strcasecmp((char*)lpos + 1, (char*)ex)){ i++; ck_free(tmp); continue; }

as lpos being NULL.

Quick workaround attached. Please check. Thanks in advance.

Original issue reported on code.google.com by SangHoon...@gmail.com on 6 Jul 2011 at 2:38

GoogleCodeExporter commented 9 years ago
Sorry, I forgot to write version info. the version was skipfish-2.01b.
And the patch file was corrupted. Attaching again.

Original comment by SangHoon...@gmail.com on 6 Jul 2011 at 2:41

Attachments:

GoogleCodeExporter commented 9 years ago
Funny, good catch. Will release a fixed version tomorrow.

Original comment by lcam...@gmail.com on 6 Jul 2011 at 2:57

GoogleCodeExporter commented 9 years ago
Oops, forgot to close the bug. This is fixed with 2.02. Thanks for the report.

Original comment by lcam...@gmail.com on 10 Jul 2011 at 7:05