Bugfix to 1.50b release
This commit is contained in:
parent
c215134fbe
commit
9674a65163
|
@ -1,4 +1,4 @@
|
|||
Version 1.50b:
|
||||
Version 1.51b:
|
||||
--------------
|
||||
|
||||
- abort() instead of exit() in several places.
|
||||
|
|
2
Makefile
2
Makefile
|
@ -20,7 +20,7 @@
|
|||
#
|
||||
|
||||
PROGNAME = skipfish
|
||||
VERSION = 1.49b
|
||||
VERSION = 1.51b
|
||||
|
||||
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 \
|
||||
|
|
|
@ -285,6 +285,7 @@ u8 parse_url(u8* url, struct http_request* req, struct http_request* ref) {
|
|||
|
||||
if (idna_to_ascii_8z((char*)host, &output, 0) != IDNA_SUCCESS ||
|
||||
strlen(output) > MAX_DNS_LEN) {
|
||||
ck_free(host);
|
||||
free(output);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue