]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: Use int64_t for intermediate values in int32_MINMAX to
authortobhe@openbsd.org <tobhe@openbsd.org>
Wed, 30 Dec 2020 14:13:28 +0000 (14:13 +0000)
committerDamien Miller <djm@mindrot.org>
Thu, 31 Dec 2020 01:42:16 +0000 (12:42 +1100)
commit3d999be7b987c848feda718cfcfcdc005ddf670d
tree3b4a3b466a6d99ecd901c48de605f2d55cd9e281
parent5c1953bf98732da5a76c706714ac066dbfa015ac
upstream: Use int64_t for intermediate values in int32_MINMAX to

prevent signed 32-bit integer overflow.

Found by and ok djm@
ok markus@

OpenBSD-Commit-ID: 4f0704768e34cf45fdd792bac4011c6971881bb3
int32_minmax.inc [new file with mode: 0644]