[File] [PATCH] Add -z/-Z support for LZMA compressed files

Christos Zoulas christos at zoulas.com
Thu Jul 18 15:44:09 UTC 2019


On Jul 18,  4:00pm, astron.com.bwoj at manchmal.in-ulm.de (Christoph Biedl) wrote:
-- Subject: [File] [PATCH] Add -z/-Z support for LZMA compressed files

| Hi there,
| 
| while working on other issues, I noticed --uncompress/
| --uncompress-noreport is not supported for LZMA compressed files.
| Adding this was not too diffcult but it seemed wise to add a length
| check for the callback compression detection as well to avoid
| out-of-bound reads. I abused maglen for this, feel free to hate me.
| 
| Additionally I added the number of the compression method check in
| the definition list, just to avoid confusion in the things that
| are about to come next.

Committed, thanks!

christos


More information about the File mailing list