1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/smb_server/smb
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
..
negprot.c s4:smb_server: remove deprecated 'use spnego = no" handling 2018-01-10 01:01:24 +01:00
nttrans.c Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +00:00
receive.c lib: Add lib/util/server_id.h 2017-01-22 18:30:11 +01:00
reply.c pvfs_open win10 fix, need return SMB2_CREATE_TAG_QFID 2016-08-19 09:35:14 +02:00
request.c
search.c
service.c s4: pass down a memory context when performing share_string_option, to allow substitutions 2014-02-20 10:11:00 +13:00
sesssetup.c auth: Add hooks for notification of authentication events over the message bus 2017-03-29 02:37:28 +02:00
signing.c lib/param: Consolidate code to enable smb signing on the server, always enable on AD DC 2013-11-22 13:13:03 +01:00
srvtime.c
trans2.c samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
wscript_build build: Enable NTVFS file server to be omitted 2015-10-23 22:27:30 +02:00