diff options
author | Barry Warsaw <barry@python.org> | 2004-05-11 02:05:11 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2004-05-11 02:05:11 (GMT) |
commit | 23164a5ca7e2fa02e0ea5d0fbf3fd4b0d51b61bd (patch) | |
tree | abc62411209f383eac8029d562c27f5d1b60dcbc /Modules/ld_so_aix | |
parent | fd0283eaa0fd593d73aab0be52038f3b6cb6c44b (diff) | |
download | cpython-23164a5ca7e2fa02e0ea5d0fbf3fd4b0d51b61bd.zip cpython-23164a5ca7e2fa02e0ea5d0fbf3fd4b0d51b61bd.tar.gz cpython-23164a5ca7e2fa02e0ea5d0fbf3fd4b0d51b61bd.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 'Modules/ld_so_aix')
0 files changed, 0 insertions, 0 deletions