1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/compression
Douglas Bagnall 0c461f3bd5 lzxpress: avoid technically undefined shift
UBSAN:

  runtime error: left shift of 1 by 31 places cannot be represented in type 'int'

Credit to OSS-fuzz.

REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22283

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Aug 31 22:31:13 UTC 2020 on sn-devel-184
2020-08-31 22:31:13 +00:00
..
lzxpress.c lzxpress: avoid technically undefined shift 2020-08-31 22:31:13 +00:00
lzxpress.h
testsuite.c lib/compression/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
wscript_build lib/compression: add shared wscript_build. 2011-02-08 14:05:36 +01:00