1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib
Joseph Sutton 6ef23456c3 ldb: Avoid undefined pointer arithmetic
Computing a pointer that points outside of an array, and not to one past
the last element, is undefined behaviour. To avoid this, do our
comparisons in terms of lengths, not pointers.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
2023-04-12 13:52:31 +00:00
..
addns lib:addns: Fix code spelling 2023-04-03 03:56:35 +00:00
afs auth: Make more liberal use of SID index constants 2023-02-08 00:03:39 +00:00
async_req lib: Use FIONREAD in wait_for_read_send/recv 2021-03-16 17:09:31 +00:00
audit_logging lib:audit_logging: Fix code spelling 2023-04-03 03:56:35 +00:00
cmdline lib:cmdline: Fix code spelling 2023-04-03 03:56:35 +00:00
compression lib:compression: Fix code spelling 2023-04-03 03:56:35 +00:00
crypto lib:crypto: Improve comment about weak crypto 2023-04-03 03:56:35 +00:00
dbwrap lib:dbwrap: Fix code spelling 2023-04-03 03:56:35 +00:00
fuzzing lib:fuzzing: Fix code spelling 2023-04-03 03:56:35 +00:00
krb5_wrap lib:krb5_wrap: Fix code spelling 2023-04-03 04:53:05 +00:00
ldb ldb: Avoid undefined pointer arithmetic 2023-04-12 13:52:31 +00:00
ldb-samba CVE-2023-0614 lib/ldb-samba Ensure ACLs are evaluated on SAMBA_LDAP_MATCH_RULE_TRANSITIVE_EVAL / LDAP_MATCHING_RULE_IN_CHAIN 2023-04-05 02:10:35 +00:00
messaging lib:messaging: Fix code spelling 2023-04-11 09:06:36 +00:00
mscat lib;smbd: Fix the -Os build by initializing variables 2021-08-06 17:22:30 +00:00
param lib:param: Fix code spelling 2023-04-11 09:06:36 +00:00
printer_driver printing: Align integer types 2021-04-01 19:32:36 +00:00
pthreadpool lib:pthreadpool: Fix code spelling 2023-04-11 09:06:36 +00:00
replace lib:replace: Fix snprintf of rep_inet_ntop() 2023-04-11 10:08:54 +00:00
smbconf s3:lib: Change file_modtime() to return an error code and a struct timespec. 2023-01-27 08:30:35 +00:00
socket lib/socket: autodetect RSS using ETHTOOL_GRXRINGS 2020-05-07 14:44:40 +00:00
talloc talloc: Remove unneeded va_copy() 2023-04-12 13:52:31 +00:00
tdb tdb/pytdb: remove useless HAVE_ITER non-flag 2023-02-03 02:27:32 +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/pytevent: remove no-op define 2023-02-03 02:27:32 +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: Increase tcp_user_timeout max_loops 2023-03-14 06:16:30 +00:00
util lib/util: Add "debug syslog format = always", which logs to stdout in syslog style 2023-04-06 12:51:30 +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