]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34899: Fix a possible assertion failure due to int_from_bytes_impl() (GH-9705)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 5 Oct 2018 21:28:56 +0000 (14:28 -0700)
committerGitHub <noreply@github.com>
Fri, 5 Oct 2018 21:28:56 +0000 (14:28 -0700)
commit1596fea0a329e1f5e4cce0135724881ca5f1d341
treea1372a026951b034ed43d02f0a0042230df20dd6
parentd9212200fe8ddb55d73b8231869cfbb32635ba92
bpo-34899: Fix a possible assertion failure due to int_from_bytes_impl() (GH-9705)

The _PyLong_FromByteArray() call in int_from_bytes_impl() was
unchecked.
(cherry picked from commit 7bb9cd0a6766fd3e7b3c1e8f2315304ae192b34c)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Objects/longobject.c