main: use safestrdup instead of strdup in process_cmdline
Michael
This commit is contained in:
parent
0480185d07
commit
5e399a7e17
@ -353,7 +353,7 @@ main (int argc, char **argv)
|
||||
if (!config.stathost) {
|
||||
log_message (LOG_INFO, "Setting stathost to \"%s\".",
|
||||
TINYPROXY_STATHOST);
|
||||
config.stathost = strdup (TINYPROXY_STATHOST);
|
||||
config.stathost = safestrdup (TINYPROXY_STATHOST);
|
||||
}
|
||||
|
||||
if (!config.user) {
|
||||
|
Loading…
Reference in New Issue
Block a user