[dovecot/core] 29ca4c: lib: Don't crash if getenv() is called after proce...
GitHub
noreply at github.com
Tue Jan 19 18:51:05 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 29ca4c8015b4936378d49937f97049f33d3aaaf9
https://github.com/dovecot/core/commit/29ca4c8015b4936378d49937f97049f33d3aaaf9
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-01-19 (Tue, 19 Jan 2016)
Changed paths:
M src/lib/process-title.c
Log Message:
-----------
lib: Don't crash if getenv() is called after process_title_deinit() with Linux/OSX PROCTITLE_HACK
Right now the only known issue is GNUTLS's lib_deinit():
e = getenv("GNUTLS_NO_EXPLICIT_INIT");
But we likely never want that to be set. Alternative ways to solve this are
more annoying than our clearing the environment. Libraries probably shouldn't
rely on it much anyway, because some parts of Dovecot clear the whole
environment while running.
More information about the dovecot-cvs
mailing list