[issue24301] gzip module failing to decompress valid compressed file
Ruben Vorderman
report at bugs.python.org
Mon Nov 29 09:37:50 EST 2021
Ruben Vorderman <r.h.p.vorderman at lumc.nl> added the comment:
>From the spec:
https://datatracker.ietf.org/doc/html/rfc1952
2.2. File format
A gzip file consists of a series of "members" (compressed data
sets). The format of each member is specified in the following
section. The members simply appear one after another in the file,
with no additional information before, between, or after them.
Gzip files with garbage after them are corrupted or not spec compliant. Therefore the gzip module should raise an error in this case.
----------
nosy: +rhpvorderman
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24301>
_______________________________________
More information about the Python-bugs-list
mailing list