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
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
..
smb Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +00:00
smb2 libsmb: Rename InfoType from [MS-SMB2] according to the spec 2019-04-01 17:58:16 +00:00
blob.c s4/ntvfs: support FS_SECTOR_SIZE_INFORMATION query-info 2015-03-18 18:57:21 +01:00
handle.c
management.c
service_smb.c source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
session.c spelling of associated 2019-02-13 04:15:14 +01:00
smb_server.c source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
smb_server.h source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
tcon.c
wscript_build build: Build less of Samba when building --without-ntvfs-fileserver 2016-06-02 16:36:15 +02:00