[Development] Either remove or make QZip{Reader, Writer} official

Thiago Macieira thiago.macieira at intel.com
Wed May 27 20:39:46 CEST 2026


On Wednesday, 27 May 2026 10:39:10 Pacific Daylight Time Ville Voutilainen 
wrote:
> Do you have a guesstimate on how far the existing code would be from
> just being promoted as-is?

My feeling it's basically a rewrite from scratch, with security in mind and 
with far more usability. I simply don't trust the code that is there, because 
it wasn't written with that in mind, has an extremely limited unit test, and 
has not been the subject of fuzzing at all. We have never checked what 
features might be interesting either, so it does a minimum that was required.

Zip files aren't that complex, so it's not a huge amount of work. It also gets 
limited if one uses libarchive instead of attempting to write the parser from 
scratch and deal with the compression and uncompression.

The largest amount of time is probably going to be in writing unit tests 
(which libarchive can't help us with) and setting up the fuzzer.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCG - Platform & Sys. Eng.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5176 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20260527/be6602ca/attachment.bin>


More information about the Development mailing list