]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: Add missing return value check in ssl_ocsp_response_print
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Wed, 16 Feb 2022 13:42:22 +0000 (14:42 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 18 Feb 2022 08:57:51 +0000 (09:57 +0100)
commita9a591ab3dcf316e30506ec79eb9c255d2b2106c
treea68612b9dec4ffd7b0d74e2047d2f310f1bf4b51
parent4f4f2b7b5f5802289df1eb81cc6a6b02894b0104
BUG/MINOR: ssl: Add missing return value check in ssl_ocsp_response_print

The b_istput function called to append the last data block to the end of
an OCSP response's detailed output was not checked in
ssl_ocsp_response_print. The ssl_ocsp_response_print return value checks
were added as well since some of them were missing.
This error was raised by Coverity (CID 1469513).

This patch fixes GitHub issue #1541.
It can be backported to 2.5.
src/ssl_ckch.c
src/ssl_sock.c