[COMMITTERS] pgsql: Fix some null pointer dereferences in LDAP auth code - Mailing list pgsql-committers

From Peter Eisentraut
Subject [COMMITTERS] pgsql: Fix some null pointer dereferences in LDAP auth code
Date
Msg-id E1eDF6R-0001Kp-U4@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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>

Branch
------
REL9_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/62906461c0d2765e0b7f8222b080670ddf1825b0

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

pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: Add some const decorations to prototypes
Next
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Account for the effect of lossy pages when costing bitmapscans.