]> git.kaiwu.me - njs.git/commit
Fixed integer-overflow in ToInt32().
authorDmitry Volyntsev <xeioex@nginx.com>
Mon, 24 May 2021 14:17:59 +0000 (14:17 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Mon, 24 May 2021 14:17:59 +0000 (14:17 +0000)
commit3457c71e2e45fcb01b93925035bae4aa589485fc
tree223589789cd2828cd1e6e246fdbab06980be48f3
parente61cbca4bb45f3d669925a5967e7131f2b1fb31a
Fixed integer-overflow in ToInt32().

error: negation of -2147483648 cannot be represented in type 'int32_t'.

Found by OSS-Fuzz.
src/njs_number.h