aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-02-13 10:20:29 +0100
committerJohn Högberg <[email protected]>2018-02-13 10:20:29 +0100
commitb1c7c64315ab93bb6fbed51664baf93ee8ee33f8 (patch)
tree329589f31393a078131103bc2f0edf7b9cf689fb
parent9d660e81152fd7640e12551b09eebae1ebb87c98 (diff)
parentcac015e654dbb3ab538cb26486115c4c9b4fc210 (diff)
downloadotp-b1c7c64315ab93bb6fbed51664baf93ee8ee33f8.tar.gz
otp-b1c7c64315ab93bb6fbed51664baf93ee8ee33f8.tar.bz2
otp-b1c7c64315ab93bb6fbed51664baf93ee8ee33f8.zip
Merge branch 'john/erts/fix-fmt_double-overflow/PR-1706/OTP-14920' into maint
-rw-r--r--erts/lib_src/common/erl_printf_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/lib_src/common/erl_printf_format.c b/erts/lib_src/common/erl_printf_format.c
index 3302083288..5a680d6f9d 100644
--- a/erts/lib_src/common/erl_printf_format.c
+++ b/erts/lib_src/common/erl_printf_format.c
@@ -326,7 +326,7 @@ static int fmt_double(fmtfn_t fn,void*arg,double val,
{
int res;
int fi = 0;
- char format_str[7];
+ char format_str[8];
char sbuf[32];
char *bufp = sbuf;
double dexp;