1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source4/smb_server/smb
Noel Power 8c49cf70fc s4/smb_server/smb: cppcheck: Fix uninitvar & uninitStructMember errors
Fixes the following errors (note: existing code is safe the way it is
currently all accesses to the structure are 'after' it is assigned)

source4/smb_server/smb/negprot.c:447: error: uninitvar: Uninitialized variable: blob <--[cppcheck]
source4/smb_server/smb/negprot.c:453: error: uninitStructMember: Uninitialized struct member: blob.data <--[cppcheck]
source4/smb_server/smb/negprot.c:447: error: uninitStructMember: Uninitialized struct member: blob.length <--[cppcheck]
source4/smb_server/smb/negprot.c:453: error: uninitStructMember: Uninitialized struct member: blob.length <--[cppcheck]
source4/smb_server/smb/negprot.c:454: error: uninitStructMember: Uninitialized struct member: blob.length <--[cppcheck]
source4/smb_server/smb/negprot.c:455: error: uninitStructMember: Uninitialized struct member: blob.length <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
2019-06-04 22:13:07 +00:00
..
negprot.c s4/smb_server/smb: cppcheck: Fix uninitvar & uninitStructMember errors 2019-06-04 22:13:07 +00: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 s4:smb_server/smb: make use of _smb_setlen_nbt() 2011-10-19 15:44:30 +02:00
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