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

gh-151126: Fix missing memory errors in `_interpchannelsmodule.c` by sobolevn · Pull Request #151239 · python/cpython · GitHub

/ cpython Public

gh-151126: Fix missing memory errors in _interpchannelsmodule.c - #151239

Merged
sobolevn merged 3 commits into
python:mainfrom
sobolevn:issue-151126-_interpchannelsmodule
Jun 10, 2026
Merged

gh-151126: Fix missing memory errors in _interpchannelsmodule.c#151239
sobolevn merged 3 commits into
python:mainfrom
sobolevn:issue-151126-_interpchannelsmodule

Conversation

sobolevn commented Jun 10, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

sobolevn added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jun 10, 2026

serhiy-storchaka 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. 👍

Mixed approach is used in this file -- some function don't raise an exception, but return an error code (negative, not -1) which then will be converted to exception in handle_channel_error(). Changes in this PR look good, but please check all other returns returning NULL or -1. There may be other bugs in this file.

Copy link
Copy Markdown
Member Author

Sure! I will check other things as well and report them in a separate issue. Thanks a lot for the review!

sobolevn merged commit 9fd1a12 into python:main Jun 10, 2026
64 checks passed

Copy link
Copy Markdown

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

Copy link
Copy Markdown

Sorry, @sobolevn, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 9fd1a125bc0ebdc26eae684da6e48ef24ee23b34 3.14

bedevere-app Bot commented Jun 10, 2026

Copy link
Copy Markdown

GH-151265 is a backport of this pull request to the 3.15 branch.

bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jun 10, 2026

bedevere-app Bot commented Jun 10, 2026

Copy link
Copy Markdown

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

bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jun 10, 2026
sobolevn added a commit that referenced this pull request Jun 10, 2026
….c` (GH-151239) (#151265)

gh-151126: Fix missing memory errors in `_interpchannelsmodule.c` (GH-151239)
(cherry picked from commit 9fd1a12)

Co-authored-by: sobolevn <mail@sobolevn.me>

bedevere-app Bot commented Jun 11, 2026

Copy link
Copy Markdown

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

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jun 11, 2026

bedevere-app Bot commented Jun 11, 2026

Copy link
Copy Markdown

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

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