1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/compression
Joseph Sutton 430bcd7a08 compression: Fix writing output flags
If indic_bit == 0, the shift amount of 32 - indic_bit == 32 will equal
the width of a 32-bit integer type, and these shifts will invoke
undefined behaviour, which is likely to cause incorrect output. Fix this
by not shifting a 32-bit integer type by 32 bits or more.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2022-05-12 02:22:35 +00:00
..
lzxpress.c compression: Fix writing output flags 2022-05-12 02:22:35 +00:00
lzxpress.h Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
testsuite.c compression tests: Add additional compression tests 2022-05-12 02:22:35 +00:00
wscript_build lib/compression: add shared wscript_build. 2011-02-08 14:05:36 +01:00