[cifs-protocol] Cannot uncompress SMB3 LZ77 payload

Aurélien Aptel aaptel at suse.com
Sat Jul 6 16:37:50 UTC 2019


"Stefan Metzmacher" <metze at samba.org> writes:
> } else if (match_len < 15+7)
>
> Should be
>
> }
> if (match_len < 15+7)
>
> instead...

Yes, thanks!

I've uploaded a new patchset with all 3 algorithms implemented (thanks
Samuel for the huffman code).

I've done more testing with payloads consisting of repeating sequences
of random bytes and sizes up to 4MB. They seem to be correct.

Cheers,
-- 
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, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg)



More information about the cifs-protocol mailing list