FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-71810: Fix _PyLong_AsByteArray() undefined behavior (GH-138873) by miss-islington · Pull Request #138883 · python/cpython · GitHub

Repository navigation

[3.14] gh-71810: Fix _PyLong_AsByteArray() undefined behavior (GH-138873) - #138883

Merged
vstinner merged 1 commit into
python:3.14from
miss-islington:backport-8b5ce31-3.14
Oct 7, 2025
Merged

vstinner merged 1 commit into
python:3.14from
miss-islington:backport-8b5ce31-3.14

Conversation

miss-islington commented Sep 14, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Don't read p[-1] when p is an empty string: when n==0.
(cherry picked from commit 8b5ce31)

Co-authored-by: Victor Stinner vstinner@python.org

…H-138873)

Don't read p[-1] when p is an empty string: when n==0.
(cherry picked from commit 8b5ce31)

Co-authored-by: Victor Stinner <vstinner@python.org>

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

vstinner merged commit b343009 into python:3.14 Oct 7, 2025
52 checks passed
miss-islington deleted the backport-8b5ce31-3.14 branch January 2, 2026 16:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL