[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:
Glenn Strauss 2016-12-16 08:38:53 -05:00
parent ede9b3fc4c
commit f792d84cf9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}