diff options
author | Peter Eisentraut | 2017-11-10 19:21:32 +0000 |
---|---|---|
committer | Peter Eisentraut | 2017-11-10 19:30:34 +0000 |
commit | 0bcdab58e83b2ac2caf4bd78e1583c11df97d4f1 (patch) | |
tree | 634ee5d5d19c65df1b975a5a0b7ee0333a5fbb22 /src/tutorial | |
parent | 18d431bda22f1b0f9ad758338a282705ab6b21b5 (diff) |
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 <thomas.munro@enterprisedb.com>
Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions