mirror of
https://github.com/facebook/zstd.git
synced 2025-10-11 00:03:06 -04:00
The source matchState is potentially at a lower current index, which means that any extra table space not overwritten by the copy may now contain invalid indices. The simple solution is to unconditionally shrink the valid table area to just the area overwritten.