2.02b: Fixed a minor NULL pointer crash in -Y mode
This commit is contained in:
parent
62021819e7
commit
c7d2a24438
|
@ -1,3 +1,8 @@
|
|||
Version 2.02b:
|
||||
--------------
|
||||
|
||||
- Fixed a minor NULL pointer crash in -Y mode.
|
||||
|
||||
Version 2.01b:
|
||||
--------------
|
||||
|
||||
|
|
2
Makefile
2
Makefile
|
@ -20,7 +20,7 @@
|
|||
#
|
||||
|
||||
PROGNAME = skipfish
|
||||
VERSION = 2.01b
|
||||
VERSION = 2.02b
|
||||
|
||||
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 \
|
||||
|
|
2
config.h
2
config.h
|
@ -111,7 +111,7 @@
|
|||
#ifdef QUEUE_FILO
|
||||
#define DICT_BATCH 100 /* Brute-force queue block */
|
||||
#else
|
||||
#define DICT_BATCH 600 /* Brute-force queue block */
|
||||
#define DICT_BATCH 300 /* Brute-force queue block */
|
||||
#endif /* ^QUEUE_FILO */
|
||||
|
||||
/* Single query for IPS detection - Evil Query of Doom (tm). */
|
||||
|
|
|
@ -642,7 +642,11 @@ static void secondary_ext_start(struct pivot_desc* pv, struct http_request* req,
|
|||
|
||||
/* Avoid foo.bar.bar. */
|
||||
|
||||
if (!strcasecmp((char*)lpos + 1, (char*)ex)){ i++; ck_free(tmp); continue; }
|
||||
if (lpos && !strcasecmp((char*)lpos + 1, (char*)ex)) {
|
||||
i++;
|
||||
ck_free(tmp);
|
||||
continue;
|
||||
}
|
||||
|
||||
sprintf((char*)tmp, "%s.%s", base_name, ex);
|
||||
|
||||
|
|
Loading…
Reference in New Issue