]> git.ipfire.org Git - thirdparty/openssl.git/commit
crypto/bio/bss_file.c: add missing cast in format arg in ERR_raise_data()
authorEugene Syromiatnikov <esyr@openssl.org>
Mon, 15 Sep 2025 02:44:36 +0000 (04:44 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 25 Sep 2025 14:58:34 +0000 (16:58 +0200)
commitd6514ce319a7284f8447a462aa3adfcb69c067f4
tree4e871932a085af33bd2d8beb3f9a18ff3b153b69
parent732a0a5df8324240e115d599c79487844d64efec
crypto/bio/bss_file.c: add missing cast in format arg in ERR_raise_data()

"%s" conversion specifier requires a "char *" argument, so ptr needs
to be cast to it there, as Coverity has noted.

Fixes: ff988500c2f39 "Replace FUNCerr with ERR_raise_data"
Resolves: https://scan5.scan.coverity.com/#/project-view/65248/10222?selectedIssue=1665423
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/bio/bss_file.c