]> git.ipfire.org Git - thirdparty/openssl.git/commit
crypto/bio/bio_print.c: reset max to zero if empty precision string is provided
authorEugene Syromiatnikov <esyr@openssl.org>
Thu, 14 Aug 2025 17:15:09 +0000 (19:15 +0200)
committerNeil Horman <nhorman@openssl.org>
Fri, 29 Aug 2025 16:18:30 +0000 (12:18 -0400)
commitcbb0a561e64b25001039f0ac82170536b2ef4893
treef14b051674e2b1aaca3daf0bc8ddc72e2ffc0d88
parent779346f2ec5ff86be47f3ebf01ab9eaa20d5e0b6
crypto/bio/bio_print.c: reset max to zero if empty precision string is provided

Per [1]:

    a null digit string is treated as zero.

[1] https://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html

Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28177)
crypto/bio/bio_print.c