[issue35090] bz2: Potential division by zero in BZ2_Malloc()

STINNER Victor report at bugs.python.org
Sun Oct 28 11:31:18 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

Check other wrappers to memory allocators:

* zlib: "zst.zalloc = PyZlib_Malloc" which calls PyMem_RawMalloc
* _lzma: "self->alloc.alloc = PyLzma_Malloc" which calls PyMem_RawMalloc
* _bz2: "bzalloc = BZ2_Malloc" which calls PyMem_RawMalloc()

https://bugs.python.org/issue35056#msg328533

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35090>
_______________________________________


More information about the Python-bugs-list mailing list