]> git.ipfire.org Git - thirdparty/zstd.git/commit
Fix #4553 fix4553 4555/head
authorYann Collet <cyan@fb.com>
Thu, 18 Dec 2025 23:52:11 +0000 (15:52 -0800)
committerYann Collet <cyan@fb.com>
Thu, 18 Dec 2025 23:52:11 +0000 (15:52 -0800)
commit3a3c506b5168966fb6b350073dbb1866d67cbf78
treef8c11151bad1c71761da307b1dc6d8ef2fe8bead
parentebc93b0c9162861d0195e81c757d5cf40ec626e3
Fix #4553

This is a bug in the streaming implementation of the v0.5 decoder.
The bug has always been there.
It requires an uncommon block configuration, which wasn't tested at the time.

v0.5 is deprecated now,
latest version to produce such format is v0.5.1 from February 2016.
It was superceded in April 2016.
So it's both short lived and very old.

Another PR will remove support of this format,
but it will still be possible to explicitely request this support on demand,
so better fix the issue.
lib/legacy/zstd_v05.c