pgsql: Fix assorted error-cleanup bugs in SSL min/max protocol version
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | pgsql: Fix assorted error-cleanup bugs in SSL min/max protocol version |
| Дата | |
| Msg-id | E1iyJgj-0000qu-Nb@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Fix assorted error-cleanup bugs in SSL min/max protocol version code. The error exits added to initialize_SSL() failed to clean up the partially-built SSL_context, and some of them also leaked the result of SSLerrmessage(). Make them match other error-handling cases in that function. The error exits added to connectOptions2() failed to set conn->status like every other error exit in that function. In passing, make the SSL_get_peer_certificate() error exit look more like all the other calls of SSLerrmessage(). Oversights in commit ff8ca5fad. Coverity whined about leakage of the SSLerrmessage() results; I noted the rest in manual code review. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/6148e2b9a6399b77e10e277c32d701b84703820f Modified Files -------------- src/interfaces/libpq/fe-connect.c | 3 +++ src/interfaces/libpq/fe-secure-openssl.c | 10 +++++++--- 2 files changed, 10 insertions(+), 3 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера