diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-10-28 20:59:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-28 20:59:13 (GMT) |
commit | fd0a3bce6e917b5853c809a309c1513acc176f56 (patch) | |
tree | dfb7fcb427afec469240f7e0e742a991751c4725 /Doc/library | |
parent | 5c0a9c4ac4afc9e160f81570c563a1ba91f0459b (diff) | |
download | cpython-fd0a3bce6e917b5853c809a309c1513acc176f56.zip cpython-fd0a3bce6e917b5853c809a309c1513acc176f56.tar.gz cpython-fd0a3bce6e917b5853c809a309c1513acc176f56.tar.bz2 |
bpo-35090: Fix potential division by zero in allocator wrappers (GH-10174)
* 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>
Diffstat (limited to 'Doc/library')
0 files changed, 0 insertions, 0 deletions