diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2022-05-11 12:46:21 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2022-05-12 02:22:35 +0000 |
commit | 1ca444929417a8c86108776bba0ad6be3e5efff1 (patch) | |
tree | b8be149b1748e07fb615ab4ab6d0a68ef0d9a258 /dynconfig | |
parent | d8a90d2a8fc5f42859297c771bc83ec12f45a658 (diff) | |
download | samba-1ca444929417a8c86108776bba0ad6be3e5efff1.tar.gz |
compression: fix lzxpress decompress with trailing flags
Every so often, lzxpress adds a 32-bit block of indicator flags to
help decode the next clump of 32 code words. A naive compressor (such
as we have) might do this at the very end for flags that aren't
actually used because there are no more bytes to decompress. If that
happens we need to stop processing, or we'll come to worse outcome at
the next CHECK_INPUT_BYTES.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'dynconfig')
0 files changed, 0 insertions, 0 deletions