]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: Missing goto in error path in ocsp update code
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Mon, 2 Jan 2023 14:01:16 +0000 (15:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 Jan 2023 14:21:57 +0000 (15:21 +0100)
commitc389b04bc57bb39da0269e4b5a4d639c8251b99f
tree5ced62bf3dd1ad71d43b007ca3d1ac324176d685
parentc57fb3be75d0cd36919ce94d5ef1d13ee6b15f98
BUG/MINOR: ssl: Missing goto in error path in ocsp update code

When converting an OCSP request's information into base64, the return
value of a2base64 is checked but processing is not interrupted when it
returns a negative value, which was caught by coverity.

This patch fixes GitHub issue #1974.
It does not need to be backported.
src/ssl_ocsp.c