1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/libcli/raw
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
..
clierror.c
clioplock.c
clisession.c s4: libcli: Internal SMB1 pid is already stored as and uses 32-bits. Correct getpid() cast. 2016-06-18 15:32:17 +02:00
clisocket.c s4:libcli/raw: make sure smbcli_transport_connect_send/recv correctly cleanup on error 2015-06-12 17:08:17 +02:00
clitransport.c s4:libcli/raw: don't schedule idle handlers on a dead connection 2019-03-28 23:09:32 +00:00
clitree.c s4:libcli: allow passing an already negotiated connection to smb_composite_connect() 2018-07-24 06:55:23 +02:00
interfaces.h s4:libcli/raw: add RAW_FILEINFO_NORMALIZED_NAME_INFORMATION support 2019-05-01 17:22:26 +00:00
libcliraw.h s4-libcli: remove some dead prototypes 2017-05-10 15:53:20 +02:00
rawacl.c
rawdate.c
raweas.c Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +00:00
rawfile.c Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +00:00
rawfileinfo.c s4:libcli/raw: add RAW_FILEINFO_NORMALIZED_NAME_INFORMATION support 2019-05-01 17:22:26 +00:00
rawfsinfo.c s4/ntvfs: support FS_SECTOR_SIZE_INFORMATION query-info 2015-03-18 18:57:21 +01:00
rawioctl.c
rawlpq.c
rawnegotiate.c s4:libcli: split out smb_raw_negotiate_fill_transport() 2018-07-24 06:55:23 +02:00
rawnotify.c
rawreadwrite.c s4:libcli/raw: Make flags2 and offset available to callers of readx 2014-08-30 00:27:13 +02:00
rawrequest.c Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +00:00
rawsearch.c s4-libcli/raw: Fix compiler errors when building with --address-sanitizer 2016-06-16 04:40:13 +02:00
rawsetfileinfo.c
rawshadow.c
rawtrans.c Fix ubsan null pointer passed as argument 2 2019-05-27 01:29:48 +00:00
README
request.h
signing.h
smb_signing.c s3:libcli: Use GnuTLS MD5 for smb singing 2019-05-21 00:03:22 +00:00
smb.h s4:libcli/raw: remove unused DEFAULT_TRUST_ACCOUNT_PASSWORD_LENGTH 2017-02-21 16:09:22 +01:00
trans2.h s4:libcli/raw: add RAW_FILEINFO_NORMALIZED_NAME_INFORMATION support 2019-05-01 17:22:26 +00:00

Design notes for client library restructure:

1 - no references to cli_state should exist in libcli/raw.
2 - all interfaces to functions in this directory should use cli_session or cli_tree as
	the primary context structure