[COMMITTERS] pgsql: Fix some null pointer dereferences in LDAP auth code
[COMMITTERS] pgsql: Fix some null pointer dereferences in LDAP auth code
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Fix some null pointer dereferences in LDAP auth code An LDAP URL without a host name such as "ldap://" or without a base DN such as "ldap://localhost" would cause a crash when reading pg_hba.conf. If no binddn is configured, an error message might end up trying to print a null pointer, which could crash on some platforms. Author: Thomas Munro Reviewed-by: Michael Paquier Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/0c98d0dd5c85ce0c8485ae1a8351a26b83c4338b Modified Files -------------- src/backend/libpq/auth.c | 3 ++- src/backend/libpq/hba.c | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers