]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix also BIO_printf formatting for INF and NAN
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 24 Apr 2025 19:09:40 +0000 (21:09 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 28 Apr 2025 15:28:10 +0000 (17:28 +0200)
commitee652eeebee53a3a8701e01e9b51fb4edba4401d
tree1c54e65153ae1d81beffa7fe2b6d0dc0b17c2fe5
parente781521ab3f1048632e37234ec821001fcd44827
Fix also BIO_printf formatting for INF and NAN

Avoid infinite loooooooops in %e and %g formatting for +/-INF and
make the invalid value at least visible by using '?' as signvalue.

Fixes #26973

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27491)

(cherry picked from commit b56dd5bfec8e790cc2d5b1bdca6ecd350a3b7779)
crypto/bio/bio_print.c