Skip to content

gh-106693: Explicitly mark ob_sval as unsigned char to avoid UB#106826

Merged
pablogsal merged 2 commits intopython:mainfrom
pablogsal:gh-106693
May 7, 2026
Merged

gh-106693: Explicitly mark ob_sval as unsigned char to avoid UB#106826
pablogsal merged 2 commits intopython:mainfrom
pablogsal:gh-106693

Conversation

@pablogsal
Copy link
Copy Markdown
Member

@pablogsal pablogsal commented Jul 17, 2023

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
@serhiy-storchaka serhiy-storchaka added the needs backport to 3.13 bugs and security fixes label May 9, 2024
@tomasr8 tomasr8 removed the needs backport to 3.12 only security fixes label Apr 10, 2025
@serhiy-storchaka serhiy-storchaka added the needs backport to 3.14 bugs and security fixes label May 8, 2025
@pablogsal pablogsal enabled auto-merge (squash) September 19, 2025 10:14
@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 13, 2026
@pablogsal pablogsal merged commit fbba343 into python:main May 7, 2026
19 of 45 checks passed
@pablogsal pablogsal deleted the gh-106693 branch May 7, 2026 19:06
@miss-islington-app
Copy link
Copy Markdown

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 7, 2026

GH-149510 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label May 7, 2026
@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 7, 2026

GH-149511 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label May 7, 2026
@colesbury
Copy link
Copy Markdown
Contributor

@pablogsal I might be missing something, but it looks like this breaks a bunch of builds. Doesn't it also have a bunch backwards compatibility concerns? The theoretically fixes undefined behavior seems less important than the actual breaks backwards compatibility

@pablogsal
Copy link
Copy Markdown
Member Author

I didn't merge this myself so I don't know what the hell happened here

@pablogsal
Copy link
Copy Markdown
Member Author

(Apparently this is a consequence of deactivating branch protections in the release)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants