]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] bpo-45509: Check gzip headers for corrupted fields (GH-29028) (GH-149769)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 13 May 2026 10:54:10 +0000 (12:54 +0200)
committerGitHub <noreply@github.com>
Wed, 13 May 2026 10:54:10 +0000 (10:54 +0000)
commit37f3deb571c02eccd8edc1457fcfc0eeeac909ce
tree41d61409e41a54ef1af0e78abc0ba6d3c36f926c
parenta5f77a13fdce49bcc6699ab4e7ec8b88e1d261af
[3.15] bpo-45509: Check gzip headers for corrupted fields (GH-29028) (GH-149769)

Check the header checksum it the HCRC field is present.
(cherry picked from commit dd94457893a1dd2c99c2405e197f54a7692cbe09)

Co-authored-by: Ruben Vorderman <r.h.p.vorderman@lumc.nl>
Lib/gzip.py
Lib/test/test_gzip.py
Misc/NEWS.d/next/Library/2021-10-18-13-46-55.bpo-45509.Upwb60.rst [new file with mode: 0644]