]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41175: Guard against a NULL pointer dereference within bytearrayobject (GH-21240)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 10 Jul 2020 10:15:59 +0000 (03:15 -0700)
committerGitHub <noreply@github.com>
Fri, 10 Jul 2020 10:15:59 +0000 (03:15 -0700)
commit33672c019179be279ae979f709c974593fbbbe84
tree64d0d44e0a30486082cda15c667167c1b7617026
parent3d1c06e8b9eec5fc1ea2ed4dc1ea79c705da8ab8
bpo-41175: Guard against a NULL pointer dereference within bytearrayobject (GH-21240)

The issue is triggered by the bytearray() + bytearray() operation.

Detected by GCC 10 static analysis tool.
(cherry picked from commit 61fc23ca106bc82955b0e59d1ab42285b94899e2)

Co-authored-by: stratakis <cstratak@redhat.com>
Misc/NEWS.d/next/Core and Builtins/2020-06-30-20-17-31.bpo-41175.acJoXB.rst [new file with mode: 0644]
Objects/bytearrayobject.c