diff options
| author | Barry Warsaw <barry@python.org> | 2004-05-11 02:07:03 (GMT) |
|---|---|---|
| committer | Barry Warsaw <barry@python.org> | 2004-05-11 02:07:03 (GMT) |
| commit | 77acf2b741b7b25b367c187f5f49dd91b59dbf7e (patch) | |
| tree | c0f249731403849dc190c5517782468d5897b7ef /Python/pythonmain.c | |
| parent | 57f15afbc0a6117e2e62cee8971014847e6ff32d (diff) | |
| download | cpython-77acf2b741b7b25b367c187f5f49dd91b59dbf7e.zip cpython-77acf2b741b7b25b367c187f5f49dd91b59dbf7e.tar.gz cpython-77acf2b741b7b25b367c187f5f49dd91b59dbf7e.tar.bz2 | |
In order to fix SF bug # 824977, we replace calloc()/free() calls in
binascii_a2b_qp() and binascii_b2a_qp() with calls to PyMem_Malloc() and
PyMem_Free(). These won't return NULL unless the allocations actually fail,
so it won't trigger a bogus memory error on some platforms <cough>AIX</cough>
when passed a length of zero.
Diffstat (limited to 'Python/pythonmain.c')
0 files changed, 0 insertions, 0 deletions
