]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-149945: Fix potential OOM for gzip with large header (GH-149979) (GH-150093)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 19 May 2026 20:38:47 +0000 (22:38 +0200)
committerGitHub <noreply@github.com>
Tue, 19 May 2026 20:38:47 +0000 (20:38 +0000)
commit3227857de8ad895fdef7c3d18a9e031f29980029
tree1e2ae7ca20a24a859f08c1675187fc937eca56d8
parentbec4336badaac36c8080ff3e55676362775f61d8
[3.15] gh-149945: Fix potential OOM for gzip with large header (GH-149979) (GH-150093)

Do not read the whole filename and comment to memory for calculating the CRC.
(cherry picked from commit 51a5715df9c56f616944cf1b39323bd6ae009143)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/gzip.py