[core] fix segfault when parsing a bad config file
(thx goblin) x-ref: "fix a segfault when parsing a bad config file" https://github.com/lighttpd/lighttpd1.4/pull/75 github: closes #75
This commit is contained in:
parent
ede9b3fc4c
commit
f792d84cf9
|
@ -79,7 +79,7 @@ int config_insert_values_internal(server *srv, array *ca, const config_values_t
|
|||
|
||||
buffer_copy_buffer(cv[i].destination, ds->value);
|
||||
} else {
|
||||
log_error_write(srv, __FILE__, __LINE__, "ssss", cv[i].key, "should have been a string like ... = \"...\"");
|
||||
log_error_write(srv, __FILE__, __LINE__, "ss", cv[i].key, "should have been a string like ... = \"...\"");
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue