]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-148093: Raise binascii.Error from binascii.a2b_uu() on empty input (GH-149077)
authorMaurycy Pawłowski-Wieroński <maurycy@maurycy.com>
Mon, 4 May 2026 09:40:52 +0000 (11:40 +0200)
committerGitHub <noreply@github.com>
Mon, 4 May 2026 09:40:52 +0000 (12:40 +0300)
commit0c6d2f64c0c83e7652760f770ff0c5cdc5040426
tree330ff664435f2dafca0d099eb44be94a0f7340f0
parent35061259cc7064988586797f4cc0ba826188c70b
gh-148093: Raise binascii.Error from binascii.a2b_uu() on empty input (GH-149077)

Instead of reading past the end of the empty buffer.
Lib/test/test_binascii.py
Misc/NEWS.d/next/Library/2026-04-27-22-34-09.gh-issue-148093.9pWceM.rst [new file with mode: 0644]
Modules/binascii.c