Ryan Liptak 60b0b21296 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.
2025-08-14 14:08:49 -07:00
..
2025-07-16 10:27:40 -07:00
2024-12-19 17:10:03 -05:00
2025-07-07 22:43:51 -07:00
2025-07-31 22:10:11 -07:00
2025-08-11 12:00:50 -07:00
2025-07-19 16:05:01 -07:00
2025-07-09 23:07:18 -07:00
2025-07-14 00:16:49 -07:00
2025-07-07 22:43:51 -07:00
2025-07-07 22:43:51 -07:00
2025-08-08 17:17:53 -07:00
2024-07-09 14:25:42 -07:00
2025-07-14 00:14:21 -07:00
2024-08-22 08:44:08 +02:00
2025-08-08 12:47:00 -07:00
2025-08-08 17:17:53 -07:00
2025-07-31 22:10:11 -07:00
2025-08-03 14:59:56 +02:00
2025-08-08 17:17:53 -07:00
2025-07-21 12:32:37 -07:00
2024-07-31 16:57:42 -07:00
2025-08-01 14:57:16 -07:00
2025-08-10 17:38:46 -07:00
2025-07-07 22:43:51 -07:00
2024-08-29 23:43:52 +01:00
2025-08-03 14:59:56 +02:00
2025-07-07 22:43:51 -07:00
2025-07-30 23:28:58 +01:00
2025-08-07 10:04:52 -07:00
2025-07-22 09:41:44 -07:00
2025-07-21 05:37:51 +02:00
2025-08-07 10:04:52 -07:00
2025-07-16 10:27:39 -07:00
2025-07-26 21:53:23 -07:00