Im working on some code which decompress raw data from a file compressed with xz or bz2 and saves the result to an output file.
libarchive 3.7.3 works great except with two different files (out of almost 20) which presents nested compressed XZ data.
And by that i mean:
- in the input file i can see close to one another two 7zXZ labels probably without a closing one in between
- the output file that i get cuts at a certain address at position 0 which means it failed at reading the first block
- in the output file that i should get in that address a section of data starting with 7zXZ occupies memory
Has anyone encountered this behaviour?