]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
binascii_a2b_base64: Properly return an empty string if the input was all
authorThomas Wouters <thomas@python.org>
Mon, 17 Mar 2003 11:34:43 +0000 (11:34 +0000)
committerThomas Wouters <thomas@python.org>
Mon, 17 Mar 2003 11:34:43 +0000 (11:34 +0000)
commitc5f77780f06b00954d7a159aa05f7ebb23808e14
tree63f84333da12dea3d9b92f0c0f31bce6cd207f47
parent903eff49aba51db2d0047433385cf7ff020f0008
binascii_a2b_base64: Properly return an empty string if the input was all
    invalid, rather than returning a string of random garbage of the
    estimated result length. Closes SF patch #703471 by Hye-Shik Chang.

Backport from 2.3.
Lib/test/test_binascii.py
Modules/binascii.c