Skip to content

Commit

Permalink
1.83b: Minor fix to -e behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
spinkham committed Jan 10, 2011
1 parent 0717375 commit 0f835b3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Version 1.83b:
--------------

- Minor fix to -e behavior.

Version 1.82b:
--------------

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#

PROGNAME = skipfish
VERSION = 1.82b
VERSION = 1.83b

OBJFILES = http_client.c database.c crawler.c analysis.c report.c
INCFILES = alloc-inl.h string-inl.h debug.h types.h http_client.h \
Expand Down
4 changes: 2 additions & 2 deletions analysis.c
Original file line number Diff line number Diff line change
Expand Up @@ -2557,7 +2557,7 @@ void maybe_delete_payload(struct pivot_desc* pv) {
u8 tmp[64];
u32 i;

if (pv->res->pay_len > 256 && !is_mostly_ascii(pv->res)) {
if (pv->res && pv->res->pay_len > 256 && !is_mostly_ascii(pv->res)) {
ck_free(pv->res->payload);
sprintf((char*)tmp, "[Deleted binary payload (%u bytes)]", pv->res->pay_len);
pv->res->payload = ck_strdup(tmp);
Expand All @@ -2566,7 +2566,7 @@ void maybe_delete_payload(struct pivot_desc* pv) {

for (i=0;i<pv->issue_cnt;i++) {

if (pv->issue[i].res->pay_len > 256 &&
if (pv->issue[i].res && pv->issue[i].res->pay_len > 256 &&
!is_mostly_ascii(pv->issue[i].res)) {
ck_free(pv->issue[i].res->payload);
sprintf((char*)tmp, "[Deleted binary payload (%u bytes)]",
Expand Down
1 change: 1 addition & 0 deletions dictionaries/complete.wl
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,7 @@ w 1 1 1 getaccess
w 1 1 1 getjobid
w 1 1 1 gfx
w 1 1 1 gid
w 1 1 1 git
w 1 1 1 gitweb
w 1 1 1 glimpse
w 1 1 1 global
Expand Down
1 change: 1 addition & 0 deletions dictionaries/medium.wl
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,7 @@ w 1 1 1 getjobid
w 1 1 1 gfx
w 1 1 1 gid
w 1 1 1 gif
w 1 1 1 git
w 1 1 1 gitweb
w 1 1 1 glimpse
w 1 1 1 global
Expand Down
1 change: 1 addition & 0 deletions dictionaries/minimal.wl
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,7 @@ w 1 1 1 getjobid
w 1 1 1 gfx
w 1 1 1 gid
w 1 1 1 gif
w 1 1 1 git
w 1 1 1 gitweb
w 1 1 1 glimpse
w 1 1 1 global
Expand Down

0 comments on commit 0f835b3

Please sign in to comment.