1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/lib
Andreas Schneider a451fa5ef9 lib:compression: Initialize variables
lib/compression/tests/test_lzx_huffman.c: In function ‘test_lzxpress_huffman_overlong_matches’:
lib/compression/tests/test_lzx_huffman.c:1013:35: error: ‘j’ may be used uninitialized [-Werror=maybe-uninitialized]
 1013 |         assert_int_equal(score, i * j);
      |                                   ^
lib/compression/tests/test_lzx_huffman.c:979:19: note: ‘j’ was declared here
  979 |         size_t i, j;
      |                   ^
lib/compression/tests/test_lzx_huffman.c: In function ‘test_lzxpress_huffman_overlong_matches_abc’:
lib/compression/tests/test_lzx_huffman.c:1059:39: error: ‘k’ may be used uninitialized [-Werror=maybe-uninitialized]
 1059 |         assert_int_equal(score, i * j * k);
      |                                       ^
lib/compression/tests/test_lzx_huffman.c:1020:22: note: ‘k’ was declared here
 1020 |         size_t i, j, k;
      |                      ^
lib/compression/tests/test_lzx_huffman.c:1059:35: error: ‘j’ may be used uninitialized [-Werror=maybe-uninitialized]
 1059 |         assert_int_equal(score, i * j * k);
      |                                   ^
lib/compression/tests/test_lzx_huffman.c:1020:19: note: ‘j’ was declared here
 1020 |         size_t i, j, k;
      |                   ^

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Sun Dec  4 09:12:30 UTC 2022 on sn-devel-184
2022-12-04 09:12:30 +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: Fix error handling of --client-protection=sign|encrypt|off 2022-06-22 11:49:23 +00:00
compression lib:compression: Initialize variables 2022-12-04 09:12:30 +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: add fuzz_lzxpress_huffman_round_trip 2022-12-01 22:56:39 +00:00
krb5_wrap krb5: Detect support for krb5_const_pac type 2022-11-08 02:39:37 +00:00
ldb ldb: don't call comparison() directly in LDB_TYPESAFE_QSORT 2022-10-21 03:57:33 +00:00
ldb-samba pyldb: Fix typos in function names 2022-10-05 05:23:50 +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 dsdb: Allow password history and password changes without an NT hash 2022-06-26 22:10:29 +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 talloc: version 2.3.4 2022-06-08 17:02:29 +00:00
tdb tdb: version 1.4.7 2022-06-08 17:57:53 +00:00
tdb_wrap lib: Open tdb files with O_CLOEXEC 2021-06-04 16:47:34 +00:00
tdr lib: Fix 1354521 Unchecked return value 2016-03-01 21:49:44 +01:00
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 torture: add torture_assertf() 2022-06-17 01:28:30 +00:00
tsocket lib/tsocket: avoid endless cpu-spinning in tstream_bsd_fde_handler() 2022-10-19 16:14:36 +00:00
util util: add stable sort functions 2022-12-01 22:56:39 +00:00
README various: Remove references to about to be deleted thirdparty/dnspython 2018-12-11 20:07:18 +01:00
wscript_build Remove 'external' python module support code - use the third_party directory instead. 2015-03-06 04:41:48 +01:00

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