pgsql: Add more sanity checks in contrib/sslinfo - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Add more sanity checks in contrib/sslinfo
Date
Msg-id E1ZZ4lO-0005ix-RR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8582cf1eb49d9b857f2397aa924e76ed5484cf43

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


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Add more sanity checks in contrib/sslinfo
Next
From: Jeff Davis
Date:
Subject: pgsql: Coordinate log_line_prefix options 'm' and 'n' to share a timeva