summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-07-10 10:18:45 (GMT)
committerGitHub <noreply@github.com>2020-07-10 10:18:45 (GMT)
commit51b36ed96d29c9440fbca18fb0c9e3087f763da5 (patch)
tree9292654309c41e429358f2ab1c1bc7c0b50a70c4 /Misc
parentfd27fb7f3dd157294f05bb060f7efd243732ab2d (diff)
downloadcpython-51b36ed96d29c9440fbca18fb0c9e3087f763da5.zip
cpython-51b36ed96d29c9440fbca18fb0c9e3087f763da5.tar.gz
cpython-51b36ed96d29c9440fbca18fb0c9e3087f763da5.tar.bz2
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>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2020-06-30-20-17-31.bpo-41175.acJoXB.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-06-30-20-17-31.bpo-41175.acJoXB.rst b/Misc/NEWS.d/next/Core and Builtins/2020-06-30-20-17-31.bpo-41175.acJoXB.rst
new file mode 100644
index 0000000..844fb80
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2020-06-30-20-17-31.bpo-41175.acJoXB.rst
@@ -0,0 +1,2 @@
+Guard against a NULL pointer dereference within bytearrayobject triggered by
+the ``bytearray() + bytearray()`` operation.