pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix some null pointer dereferences in LDAP auth code
6+ messages / 1 participants
[nested] [flat]

* pgsql: Fix some null pointer dereferences in LDAP auth code
@ 2017-11-10 19:36  Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Peter Eisentraut @ 2017-11-10 19:36 UTC (permalink / raw)
  To: 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_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9efd83bfd32b38c675b263f532ebe9a6ec53149e

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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix some null pointer dereferences in LDAP auth code
@ 2017-11-10 19:36  Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Peter Eisentraut @ 2017-11-10 19:36 UTC (permalink / raw)
  To: 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
------
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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix some null pointer dereferences in LDAP auth code
@ 2017-11-10 19:36  Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Peter Eisentraut @ 2017-11-10 19:36 UTC (permalink / raw)
  To: 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_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d380d080fa0ad230d86bc5e4bc3512a199f68e43

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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix some null pointer dereferences in LDAP auth code
@ 2017-11-10 19:36  Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Peter Eisentraut @ 2017-11-10 19:36 UTC (permalink / raw)
  To: 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_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0bcdab58e83b2ac2caf4bd78e1583c11df97d4f1

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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix some null pointer dereferences in LDAP auth code
@ 2017-11-10 19:36  Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Peter Eisentraut @ 2017-11-10 19:36 UTC (permalink / raw)
  To: 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
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f9e2885d51bf585bec2d5ffeda4f9e5e1a723f4d

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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix some null pointer dereferences in LDAP auth code
@ 2017-11-10 19:36  Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 0 replies; 6+ messages in thread

From: Peter Eisentraut @ 2017-11-10 19:36 UTC (permalink / raw)
  To: 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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2017-11-10 19:36 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-11-10 19:36 pgsql: Fix some null pointer dereferences in LDAP auth code Peter Eisentraut <peter_e@gmx.net>
2017-11-10 19:36 pgsql: Fix some null pointer dereferences in LDAP auth code Peter Eisentraut <peter_e@gmx.net>
2017-11-10 19:36 pgsql: Fix some null pointer dereferences in LDAP auth code Peter Eisentraut <peter_e@gmx.net>
2017-11-10 19:36 pgsql: Fix some null pointer dereferences in LDAP auth code Peter Eisentraut <peter_e@gmx.net>
2017-11-10 19:36 pgsql: Fix some null pointer dereferences in LDAP auth code Peter Eisentraut <peter_e@gmx.net>
2017-11-10 19:36 pgsql: Fix some null pointer dereferences in LDAP auth code Peter Eisentraut <peter_e@gmx.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox