forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit37e1cce
committed
libpq: Fix SNI host handling
Fix handling of NULL host name (possibly by using hostaddr). Itpreviously crashed. Also, we should look at connhost, not pghost, tohandle multi-host specifications.Also remove an unnecessary SSL_CTX_free().Reported-by: Jacob Champion <pchampion@vmware.com>Reviewed-by: Michael Paquier <michael@paquier.xyz>Discussion:https://www.postgresql.org/message-id/504c276ab6eee000bb23d571ea9b0ced4250774e.camel@vmware.com1 parenteab8195 commit37e1cce
1 file changed
+15
-11
lines changedLines changed: 15 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1087 | 1087 |
| |
1088 | 1088 |
| |
1089 | 1089 |
| |
1090 |
| - | |
1091 |
| - | |
1092 |
| - | |
| 1090 | + | |
1093 | 1091 |
| |
1094 |
| - | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
1095 | 1097 |
| |
1096 |
| - | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
1097 | 1101 |
| |
1098 |
| - | |
1099 |
| - | |
1100 |
| - | |
1101 |
| - | |
1102 |
| - | |
1103 |
| - | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
1104 | 1108 |
| |
1105 | 1109 |
| |
1106 | 1110 |
| |
|
0 commit comments
Comments
(0)