pgsql: Add more sanity checks in contrib/sslinfo

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add more sanity checks in contrib/sslinfo
Date: 2015-09-07 22:19:46
Message-ID: E1ZZ4lO-0005j0-Rl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/28120a06952369e12bc9405e5ffb9e15babc9795

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

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2015-09-07 22:41:38 pgsql: Coordinate log_line_prefix options 'm' and 'n' to share a timeva
Previous Message Jeff Davis 2015-09-07 20:48:17 pgsql: Add log_line_prefix option 'n' for Unix epoch.