From: Ulf Möller Date: Tue, 27 Feb 2001 23:59:18 +0000 (+0000) Subject: %f conversion bug fix X-Git-Tag: OpenSSL_0_9_6a-beta2~17^2~106 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bf401a2aef5a130ef21de4575f3a7c3d7a6f5e2a;p=oweals%2Fopenssl.git %f conversion bug fix Submitted by: Henrik Eriksson --- diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c index 6a28c58f07..f6277426d7 100644 --- a/crypto/bio/b_print.c +++ b/crypto/bio/b_print.c @@ -640,7 +640,7 @@ fmtfp( (caps ? "0123456789ABCDEF" : "0123456789abcdef")[fracpart % 10]; fracpart = (fracpart / 10); - } while (fracpart && (fplace < 20)); + } while (fplace < max); if (fplace == 20) fplace--; fconvert[fplace] = 0;