]> git.ipfire.org Git - thirdparty/openssl.git/commit
crypto/x509/t_x509.c: check i2d_X509_NAME() return value in X509_ocspid_print()
authorEugene Syromiatnikov <esyr@openssl.org>
Mon, 15 Sep 2025 01:31:31 +0000 (03:31 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 25 Sep 2025 14:58:34 +0000 (16:58 +0200)
commitd650e962d8f2d6ba57b2cd76ecd0c31906fd2d5a
treee6eb85a94dc533bbc73476d69fb8f288c3f6b6ca
parent9bb53c7f04d8903e78ce39a3080eb7708f1516ed
crypto/x509/t_x509.c: check i2d_X509_NAME() return value in X509_ocspid_print()

There is little reason for this call to fail, but there is also little
reason for not to check for it, and, since Coverity noticed
that the check is missing, just add it.

Resolves: https://scan5.scan.coverity.com/#/project-view/65248/10222?selectedIssue=1665420
References: https://github.com/openssl/project/issues/1432
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28647)
crypto/x509/t_x509.c