1
0
镜像自地址 https://git.tukaani.org/xz.git 已同步 2025-12-14 17:38:45 +00:00

Fix data corruption in LZ/LZMA2 encoder.

Thanks to Jonathan Stott for the bug report.
这个提交包含在:
Lasse Collin 2009-08-16 22:15:13 +03:00
父节点 66da129c8e
当前提交 3ce1916c83

查看文件

@ -234,7 +234,7 @@ mf_avail(const lzma_mf *mf)
static inline uint32_t
mf_unencoded(const lzma_mf *mf)
{
return mf->write_pos - mf->read_pos - mf->read_ahead;
return mf->write_pos - mf->read_pos + mf->read_ahead;
}