[PATCHES] MSZIP support for cabinet files

Aurélien Aptel aaptel at suse.com
Mon Jul 3 17:11:07 UTC 2017


After more careful reading I think code will fail early already, I've
switched some variables to size_t for counts and offsets just in case.

In the pull function I've added more remaining byte checks for when we
are raw-pulling CFDATAs.

I've also changed the magic 15 constant to MAX_WBITS, like it was
changed in other code paths.

Feel free to squash if you think it's appropriate. I'm attaching the
whole thing again with my last 3 commits appended.

-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mszip-v2
Type: text/x-patch
Size: 48270 bytes
Desc: MSZIP support for cabinet files v2
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170703/28c284d3/mszip-v2.bin>


More information about the samba-technical mailing list