]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-148093: Raise binascii.Error from binascii.a2b_uu() on empty input (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 May 2026 10:10:47 +0000 (12:10 +0200)
committerGitHub <noreply@github.com>
Mon, 4 May 2026 10:10:47 +0000 (10:10 +0000)
commit3e25cd96194e10f6fdc7cb9984004a4caa4c0359
tree231e941e4b3d1c75c67104a6828ac6d48b4df983
parentc55cce2e5f2f30fa54c616395360ac2e1f9d5d5f
[3.14] gh-148093: Raise binascii.Error from binascii.a2b_uu() on empty input (GH-149077) (GH-149350)

Instead of reading past the end of the empty buffer.
(cherry picked from commit 0c6d2f64c0c83e7652760f770ff0c5cdc5040426)

Co-authored-by: Maurycy Pawłowski-Wieroński <maurycy@maurycy.com>
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