Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

[3.11] gh-119452: Fix a potential virtual memory allocation denial of service in http.server (GH-142216)#142298

Merged
pablogsal merged 1 commit intopython:3.11from
miss-islington:backport-0e4f4f1-3.11
Jan 25, 2026
Merged

[3.11] gh-119452: Fix a potential virtual memory allocation denial of service in http.server (GH-142216)#142298
pablogsal merged 1 commit intopython:3.11from
miss-islington:backport-0e4f4f1-3.11

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedDec 5, 2025
edited by bedevere-appbot
Loading

The CGI server on Windows could consume the amount of memory specified
in the Content-Length header of the request even if the client does not
send such much data. Now it reads the POST request body by chunks,
therefore the memory consumption is proportional to the amount of sent
data.
(cherry picked from commit0e4f4f1)

Co-authored-by: Serhiy Storchakastorchaka@gmail.com

…ial of service in http.server (pythonGH-142216)The CGI server on Windows could consume the amount of memory specifiedin the Content-Length header of the request even if the client does notsend such much data. Now it reads the POST request body by chunks,therefore the memory consumption is proportional to the amount of sentdata.(cherry picked from commit0e4f4f1)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Copy link
Member

@pablogsalpablogsal left a comment

Choose a reason for hiding this comment

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

LGTM

@pablogsalpablogsal merged commitfa1aae0 intopython:3.11Jan 25, 2026
23 checks passed
@miss-islingtonmiss-islington deleted the backport-0e4f4f1-3.11 branchJanuary 25, 2026 17:10
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@pablogsalpablogsalpablogsal approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@pablogsal@serhiy-storchaka

[8]ページ先頭

©2009-2026 Movatter.jp