https://github.com/python/cpython
Revision 1d7d165e3c3f07518e6b5bfb57f1fd460cd4bbf2 authored by Miss Islington (bot) on 28 October 2018, 20:46:56 UTC, committed by GitHub on 28 October 2018, 20:46:56 UTC

* Fix potential division by zero in BZ2_Malloc()
* Avoid division by zero in PyLzma_Malloc()
* Avoid division by zero and integer overflow in PyZlib_Malloc()

Reported by Svace static analyzer.
(cherry picked from commit 3d4fabb2a424cb04ae446ebe4428090c386f45a5)

Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
1 parent ff8d626
History
Tip revision: 1d7d165e3c3f07518e6b5bfb57f1fd460cd4bbf2 authored by Miss Islington (bot) on 28 October 2018, 20:46:56 UTC
bpo-35090: Fix potential division by zero in allocator wrappers (GH-10174)
Tip revision: 1d7d165
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.5 KB
.gitignore -rw-r--r-- 1.5 KB
.travis.yml -rw-r--r-- 6.0 KB
CODE_OF_CONDUCT.rst -rw-r--r-- 631 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 61.1 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 486.8 KB
configure.ac -rw-r--r-- 162.3 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 42.1 KB
setup.py -rw-r--r-- 99.5 KB

README.rst

back to top