]> granicus.if.org Git - python/commit
bpo-34899: Fix a possible assertion failure due to int_from_bytes_impl() (GH-9705)
authorZackery Spytz <zspytz@gmail.com>
Fri, 5 Oct 2018 21:02:23 +0000 (15:02 -0600)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 5 Oct 2018 21:02:23 +0000 (00:02 +0300)
commit7bb9cd0a6766fd3e7b3c1e8f2315304ae192b34c
treec30462e3098460850f3d7e082b656d4a558fac68
parentaddf8afb43af58b9bf56a0ecfd0f316dd60ac0c3
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.
Objects/longobject.c