- Notifications
You must be signed in to change notification settings - Fork28
Commitf9e2885
committed
Fix some null pointer dereferences in LDAP auth code
An LDAP URL without a host name such as "ldap://" or without a base DNsuch 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 anull pointer, which could crash on some platforms.Author: Thomas Munro <thomas.munro@enterprisedb.com>Reviewed-by: Michael Paquier <michael.paquier@gmail.com>1 parentd33fc27 commitf9e2885
2 files changed
+6
-3
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2474 | 2474 |
| |
2475 | 2475 |
| |
2476 | 2476 |
| |
2477 |
| - | |
| 2477 | + | |
| 2478 | + | |
2478 | 2479 |
| |
2479 | 2480 |
| |
2480 | 2481 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1721 | 1721 |
| |
1722 | 1722 |
| |
1723 | 1723 |
| |
1724 |
| - | |
| 1724 | + | |
| 1725 | + | |
1725 | 1726 |
| |
1726 |
| - | |
| 1727 | + | |
| 1728 | + | |
1727 | 1729 |
| |
1728 | 1730 |
| |
1729 | 1731 |
| |
|
0 commit comments
Comments
(0)