[dovecot/core] 026d97: auth-worker: Fix potential crash when importing pa...
GitHub
noreply at github.com
Fri Oct 28 10:00:10 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 026d971be5201aed5ccf60138900770e42cf0de5
https://github.com/dovecot/core/commit/026d971be5201aed5ccf60138900770e42cf0de5
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-28 (Fri, 28 Oct 2016)
Changed paths:
M src/auth/auth-request.c
M src/auth/auth-worker-client.c
Log Message:
-----------
auth-worker: Fix potential crash when importing passdb/userdb fields without value.
These were being converted to NULL values in auth-worker, while elsewhere they were
converted to "". Changed to "" here as well and added asserts to make sure they
won't happen again.
Most of the NULL values would have been fine, but overriding any IP/port
fields would have caused a crash when trying to parse the value.
More information about the dovecot-cvs
mailing list