Commit 61dbb53f authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

ucrtbase: Fix buffer overflow error when printing hexadecimal floating point number.

parent 612f96ae
......@@ -415,7 +415,7 @@ static inline int FUNC_NAME(pf_output_hex_fp)(FUNC_NAME(puts_clbk) pf_puts, void
{ '0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F' }
};
APICHAR pfx[16], sfx[8], *p;
APICHAR pfx[4+MANT_BITS/4+1], sfx[8], *p;
ULONGLONG mant;
int len = 0, sfx_len = 0, r, exp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment