]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:06:25 +0000 (12:06 +0200)
committerGitHub <noreply@github.com>
Mon, 4 May 2026 10:06:25 +0000 (10:06 +0000)
commit023ecbd01f876ea50e5291266c1dbf770ac27ff9
tree49ae3283e98a2eb7e66c16ccee52df801f4a37bd
parentd82d5c2ddbc73fc188812a3d16b9ab2d15c76a01
[3.13] gh-148093: Raise binascii.Error from binascii.a2b_uu() on empty input (GH-149077) (GH-149349)

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