]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-124064: Fix -Wconversion warnings in Parser/string_parser.c (#124204)
authorVictor Stinner <vstinner@python.org>
Wed, 18 Sep 2024 17:10:56 +0000 (19:10 +0200)
committerGitHub <noreply@github.com>
Wed, 18 Sep 2024 17:10:56 +0000 (19:10 +0200)
commitf9fa6ba4f8d90ae12bc1f6a792d66903bb169ba8
tree62c7906e3e553eab79c1173ea2e2e3642aa3c7b3
parent5cd50cb6eb28e525f0c838e049e900ea982a5a23
gh-124064: Fix -Wconversion warnings in Parser/string_parser.c (#124204)

Fix integer overflow check in decode_unicode_with_escapes(): use
PY_SSIZE_T_MAX instead of SIZE_MAX.
Parser/string_parser.c