]> git.ipfire.org Git - thirdparty/gnutls.git/commit
cli: fix --ca-auto-retrieve crash when no caIssuer is present in AIA
authorDaiki Ueno <ueno@gnu.org>
Thu, 9 Nov 2023 04:33:13 +0000 (13:33 +0900)
committerDaiki Ueno <ueno@gnu.org>
Thu, 9 Nov 2023 04:33:13 +0000 (13:33 +0900)
commitebb98fd87edd2c876d3ebadee4249cfd8254f7c0
treebe67ebcf246eb87e3ac6b33792c82be8de5ce2e0
parent6ee647f0e6d3b4a1255c2fa26331714984388717
cli: fix --ca-auto-retrieve crash when no caIssuer is present in AIA

Previously, when caIssuer URI is not present in the certificate's AIA
extension, the callback successfully returned 0, but didn't initialize
the output arguments, resulting in a segmentation fault in the caller.

Signed-off-by: Daiki Ueno <ueno@gnu.org>
src/cli.c