]> granicus.if.org Git - python/commit
bpo-34164: Fix handling of incorrect padding in base64.b32decode(). (GH-8351)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 24 Jul 2018 09:52:51 +0000 (12:52 +0300)
committerGitHub <noreply@github.com>
Tue, 24 Jul 2018 09:52:51 +0000 (12:52 +0300)
commitac0b3c2f4d86fc056b833a4e6b9a380741244a63
tree146851a1151628b64bae4ee7f867a78ccba692c9
parent02ec92fa7b1dddc23d479ee0b87dc283793505a8
bpo-34164: Fix handling of incorrect padding in base64.b32decode(). (GH-8351)

Now base64.Error is always raised instead of UnboundLocalError or
OverflowError.
Lib/base64.py
Lib/test/test_base64.py
Misc/NEWS.d/next/Library/2018-07-20-18-06-00.bpo-34164.fNfT-q.rst [new file with mode: 0644]