gh-132983: Don't allow trailer data in ZstdFile (#133736)

This commit is contained in:
Rogdham 2025-05-10 04:32:22 +02:00 committed by GitHub
parent c896dae029
commit 50b5370664
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

@ -89,7 +89,6 @@ class ZstdFile(_streams.BaseStream):
raw = _streams.DecompressReader(
self._fp,
ZstdDecompressor,
trailing_error=ZstdError,
zstd_dict=zstd_dict,
options=options,
)