Author malin
Recipients Esa.Peuha, Jeffrey.Kintscher, akira, gregory.p.smith, josh.r, kenorb, malin, maubp, miss-islington, nadeem.vawda, peremen, serhiy.storchaka, vnummela
Date 2019-09-14.04:31:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Some memos:

1, In liblzma, these missing bytes were copied inside `dict_repeat` function:

 788         case SEQ_COPY:
 789                 // Repeat len bytes from distance of rep0.
 790                 if (unlikely(dict_repeat(&dict, rep0, &len))) {

See liblzma's source code (xz-5.2 branch):;a=blob;f=src/liblzma/lzma/lzma_decoder.c

2, Above replies said xz's command line tools can extract the problematic files successfully.

This is because xz checks `if (avail_out == 0)` first, then checks `if (avail_in == 0)`
See `uncompress` function in this source code (xz-5.2 branch):;a=blob;f=src/xzdec/xzdec.c;hb=refs/heads/v5.2

This check order just avoids the problem.
Date User Action Args
2019-09-14 04:31:45malinsetrecipients: + malin, gregory.p.smith, nadeem.vawda, akira, maubp, serhiy.storchaka, Esa.Peuha, josh.r, vnummela, kenorb, peremen, miss-islington, Jeffrey.Kintscher
2019-09-14 04:31:45malinsetmessageid: <>
2019-09-14 04:31:45malinlinkissue21872 messages
2019-09-14 04:31:45malincreate