Обсуждение: pgsql: Add more sanity checks in contrib/sslinfo

Поиск
Список
Период
Сортировка

pgsql: Add more sanity checks in contrib/sslinfo

От
Alvaro Herrera
Дата:
Add more sanity checks in contrib/sslinfo

We were missing a few return checks on OpenSSL calls.  Should be pretty
harmless, since we haven't seen any user reports about problems, and
this is not a high-traffic module anyway; still, a bug is a bug, so
backpatch this all the way back to 9.0.

Author: Michael Paquier, while reviewing another sslinfo patch

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3660778bccb23f233596a1ea140d87e7213847d9

Modified Files
--------------
contrib/sslinfo/sslinfo.c |   25 ++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)