fixed crash with invalid hostmask is used (fixes #854)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1321 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.12
parent
a4cabee7fd
commit
f40d75f98d
|
@ -269,7 +269,7 @@ static cond_result_t config_check_cond_nocache(server *srv, connection *con, dat
|
|||
nm_bits = strtol(nm_slash + 1, &err, 10);
|
||||
|
||||
if (*err) {
|
||||
log_error_write(srv, __FILE__, __LINE__, "sbs", "ERROR: non-digit found in netmask:", dc->string, *err);
|
||||
log_error_write(srv, __FILE__, __LINE__, "sbs", "ERROR: non-digit found in netmask:", dc->string, err);
|
||||
|
||||
return COND_RESULT_FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue