that wont work on all lzma archives either as some implementations fill out the filesize field (that 8 byte field).
simply extend the existing magic logic and look for the first few lzma bytes. also post a link to an archive that isnt working for you.
that wont work on all lzma archives either as some implementations fill out the filesize field (that 8 byte field).
simply extend the existing magic logic and look for the first few lzma bytes. also post a link to an archive that isnt working for you.