1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib
Gary Lockyer 412afb2aef Fix ubsan null pointer passed as argument 2
Fix ubsan warning null pointer passed as argument 2 when the source
pointer is NULL.  The calls to memcpy are now guarded by an
if (len > 0)

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Mon May 27 01:29:48 UTC 2019 on sn-devel-184
2019-05-27 01:29:48 +00:00
..
addns addns: Remove some unused defines 2019-02-27 01:35:18 +01:00
afs lib: Use dom_sid_str_buf 2018-12-11 00:40:30 +01:00
async_req lib/async_req/async_sock.c set socket close on exec 2017-12-18 04:38:19 +01:00
audit_logging lib:audit_logging: Use C99 initializer for server_id in audit_logging 2019-04-29 16:04:28 +00:00
compression lib:compression: Fix undefined behavior in lzxpress 2018-11-22 22:13:27 +01:00
crypto Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +00:00
dbwrap Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +00:00
krb5_wrap krb5_wrap: Only use the required md4 header 2019-02-27 07:59:27 +00:00
ldb ldap server: generate correct referral schemes 2019-05-24 05:12:14 +00:00
ldb-samba lib/ldb-samba: squash 'cast between incompatible function types' warning 2019-05-16 17:55:17 +00:00
mscat lib:mscat: Add missing return check for error in dumpsmcat 2019-05-24 06:07:08 +00:00
param smbd: Move deadtime default to parameter definition and man page 2019-05-01 03:12:07 +00:00
printer_driver lib:printer_driver: Retrieve Class value 2019-01-28 15:44:18 +01:00
pthreadpool Revert "pthreadpool: split out pthreadpool_tevent_job from pthreadpool_tevent_job_state" 2019-01-11 23:11:14 +01:00
replace lib: Only compile resolvconftest if fmemopen exists 2019-05-25 00:05:25 +00:00
smbconf waf: add library dependency for sendfile on Solaris 2019-02-17 13:33:15 +01:00
socket lib:socket: If returning early, set ifaces 2018-10-28 00:35:34 +02:00
talloc lib/talloc: squash 'cast between incompatible function types' warning 2019-05-16 17:55:17 +00:00
tdb tdb: Fix typo in README 2019-05-23 16:56:17 +00:00
tdb_wrap tdb_wrap: Use a struct initializer 2015-07-23 14:39:18 +02:00
tdr lib: Fix 1354521 Unchecked return value 2016-03-01 21:49:44 +01:00
tevent lib/tevent: squash 'cast between incompatible function types' warning 2019-05-16 17:55:17 +00:00
texpect lib/texpect: avoid theoretical NULL dereference (CID 1273099) 2019-05-09 22:39:27 +00:00
torture lib:torture: Fix string comparison macros where we directly pass NULL 2019-05-08 16:33:24 +00:00
tsocket tsocket: Simplify tsocket.h 2019-03-22 18:02:17 +00:00
util Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +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