]> git.kaiwu.me - njs.git/commit
Fixed Number.prototype.toString(radix).
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 3 Dec 2019 11:59:26 +0000 (14:59 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 3 Dec 2019 11:59:26 +0000 (14:59 +0300)
commitc8aaa599c97c9ca2cdca6b229924873986889d72
treeb7ad79db70355a247783957f1684c5177d833f63
parent98855f6e5c143fdede513dcbad615764db8ac416
Fixed Number.prototype.toString(radix).

Fixed buffer-overflow in Number.prototype.toString(radix) when
fraction == delta == 0. The last comparison might by true for very
small numbers (denormals) around zero when fast-math mode is enabled.

The issue was introduced in 5f0812d53158.
auto/clang
src/njs_clang.h
src/njs_number.c
src/njs_shell.c
src/test/njs_unit_test.c