2fb27941fb13f48e728365c1332039bfa63aca6e |
|
13-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
log: Fix restoring global log prefix
It was allocated from data stack, which was freed by
master_service_init_finish(). This may have caused wrong prefix to be
used for log's internal error messages, or restoring the global log
prefix could have crashed:
Panic: file strfuncs.c: line 147 (t_noalloc_strdup_vprintf): assertion failed: ((unsigned int)ret == *size_r-1) |