zstd.Decompress: Treat a partial magic number as a failure

Previously, the "allow EndOfStream" part of this logic was too permissive. If there are a few dangling bytes at the end of the stream, that should be treated as a bad magic number. The only case where EndOfStream is allowed is when the stream is truly at the end, with exactly zero bytes available.
60b0b21296Ryan Liptak committed on 8/14/2025, 9:08:49 PMparent59de7e3
2 files changedLine totals unavailable