[cifs-protocol] [REG:119070521001876] SMB3 LZ77 decompression issues
Stefan Metzmacher
metze at samba.org
Mon Jul 15 08:14:16 UTC 2019
Hi Edgar,
> Upon review, we noticed there is additional logic to handle values larger than 1 << 16 for the MatchLength. The second change here is that the we subtract 15 from the MatchLength instead of 15 + 7. See additions on lines 37 to 39. Let us know whether this helps.
> 37
> +
> If MatchLength == 0
> 38
> +
> MatchLength = read 8 bytes from InputPosition
> 39
> +
> InputPosition += 8 bytes
Shouldn't this be 4 bytes instead of 8?
metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20190715/79d035e6/signature.sig>
More information about the cifs-protocol
mailing list