diff options
author | John Högberg <[email protected]> | 2018-02-13 10:20:29 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-02-13 10:20:29 +0100 |
commit | b1c7c64315ab93bb6fbed51664baf93ee8ee33f8 (patch) | |
tree | 329589f31393a078131103bc2f0edf7b9cf689fb /erts | |
parent | 9d660e81152fd7640e12551b09eebae1ebb87c98 (diff) | |
parent | cac015e654dbb3ab538cb26486115c4c9b4fc210 (diff) | |
download | otp-b1c7c64315ab93bb6fbed51664baf93ee8ee33f8.tar.gz otp-b1c7c64315ab93bb6fbed51664baf93ee8ee33f8.tar.bz2 otp-b1c7c64315ab93bb6fbed51664baf93ee8ee33f8.zip |
Merge branch 'john/erts/fix-fmt_double-overflow/PR-1706/OTP-14920' into maint
Diffstat (limited to 'erts')
-rw-r--r-- | erts/lib_src/common/erl_printf_format.c | 2 |
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; |