1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/lib
Douglas Bagnall 44a44005a6 compression/huffman: debug function bails upon disaster (CID 1517261)
We shouldn't get a node with a zero code, and there's probably nothing
to do but stop.

   CID 1517261 (#1-2 of 2): Bad bit shift operation
   (BAD_SHIFT)11. negative_shift: In expression j >> offset - k,
   shifting by a negative amount has undefined behavior. The shift
   amount, offset - k, is -3.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Dec 19 23:29:04 UTC 2022 on sn-devel-184
2022-12-19 23:29:04 +00:00
..
addns libaddns: remove duplicate declaration 2022-09-16 05:46:35 +00:00
afs s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +00:00
async_req lib: Use FIONREAD in wait_for_read_send/recv 2021-03-16 17:09:31 +00:00
audit_logging audit_logging: add method to replace the object for a given key with a new object 2022-08-08 12:56:28 +00:00
cmdline lib/cmdline/tests: add missing includes 2022-12-09 23:11:38 +00:00
compression compression/huffman: debug function bails upon disaster (CID 1517261) 2022-12-19 23:29:04 +00:00
crypto lib:crypto: Change error return to SMB_ASSERT() 2022-10-05 04:23:32 +00:00
dbwrap lib/dbwrap: allow dbwrap_merge_dbufs() to update an existing buffer 2022-09-20 00:34:35 +00:00
fuzzing fuzz: fix lzxpress plain round-trip fuzzer 2022-12-19 22:32:35 +00:00
krb5_wrap CVE-2022-37966 lib/krb5_wrap: no longer reference des encryption types 2022-12-13 13:07:30 +00:00
ldb lib: Save intermediate NULL checks with talloc_asprintf_addbuf() 2022-12-14 04:32:34 +00:00
ldb-samba lib: Use talloc_asprintf_addbuf() in ldif_write_prefixMap() 2022-12-14 04:32:34 +00:00
messaging lib/messaging: s/getpid/tevent_cached_getpid 2022-07-25 17:34:33 +00:00
mscat lib;smbd: Fix the -Os build by initializing variables 2021-08-06 17:22:30 +00:00
param s3-librpc: add ads.idl and convert ads_struct to talloc. 2022-12-16 20:38:32 +00:00
printer_driver printing: Align integer types 2021-04-01 19:32:36 +00:00
pthreadpool build: Do not build selftest binaries for builds without --enable-selftest 2019-11-22 11:48:59 +00:00
replace lib/replace: let rep_openat2() inject O_LARGEFILE as needed 2022-11-24 11:01:37 +00:00
smbconf lib/smbconf: expose smbconf error codes to python wrapper 2022-06-08 13:13:10 +00:00
socket lib/socket: autodetect RSS using ETHTOOL_GRXRINGS 2020-05-07 14:44:40 +00:00
talloc lib: Move talloc_asprintf_addbuf() to talloc 2022-12-14 04:32:34 +00:00
tdb tdb: Move 160 bytes from R/W data segment to R/O text 2022-12-15 21:52:34 +00:00
tdb_wrap lib: Open tdb files with O_CLOEXEC 2021-06-04 16:47:34 +00:00
tdr
tevent tevent: Fix flag clearing 2022-10-03 21:05:31 +00:00
texpect texpect: don't ignore unknown options 2021-09-10 15:10:30 +00:00
torture lib/torture: fix tctx arg usage in torture_assert_nttime_equal() macro 2022-12-09 23:11:38 +00:00
tsocket tsocket: Fix the build on FreeBSD 2022-12-12 21:16:33 +00:00
util lib: Use talloc_asprintf_addbuf() in print_socket_options() 2022-12-14 04:32:34 +00:00
README various: Remove references to about to be deleted thirdparty/dnspython 2018-12-11 20:07:18 +01:00
wscript_build

compression - Various compression algorithms (MSZIP, lzxpress)
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
subunit - Utilities and bindings for working with the Subunit test result 
          reporting protocol.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library