Skip to content

gh-156180: Reject a negative len2 in zlib.{adler32,crc32}_combine() - #156181

Merged
StanFromIreland merged 3 commits into
python:mainfrom
StanFromIreland:zlib-negative
Aug 22, 2026
Merged

gh-156180: Reject a negative len2 in zlib.{adler32,crc32}_combine()#156181
StanFromIreland merged 3 commits into
python:mainfrom
StanFromIreland:zlib-negative

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Aug 21, 2026

Copy link
Copy Markdown
Member

@StanFromIreland StanFromIreland added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 21, 2026
Comment thread Misc/NEWS.d/next/Library/2026-08-21-14-30-00.gh-issue-156180.Qz3Lv8.rst Outdated
Comment thread Modules/zlibmodule.c
Comment thread Lib/test/test_zlib.py

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

LGTM. 👍

Comment thread Lib/test/test_zlib.py
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Comment thread Modules/zlibmodule.c
@StanFromIreland
StanFromIreland merged commit b062727 into python:main Aug 22, 2026
54 checks passed
@StanFromIreland
StanFromIreland deleted the zlib-negative branch August 22, 2026 18:46
@miss-islington-app

Copy link
Copy Markdown

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

@bedevere-app

bedevere-app Bot commented Aug 22, 2026

Copy link
Copy Markdown

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

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 22, 2026
@StanFromIreland

Copy link
Copy Markdown
Member Author

Thanks for the reviews!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants