1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00
samba-mirror/source3
Ralph Boehme 7653ae2702 smbd: initialize delete_on_close in smbd_smb2_setinfo_lease_break_fsp_check()
CID 1634488:  Uninitialized variables  (UNINIT)

/source3/smbd/smb2_setinfo.c: 475 in smbd_smb2_setinfo_lease_break_fsp_check()
469     			&delete_on_close);
470     		if (tevent_req_nterror(req, status)) {
471     			return;
472     		}
473     	}
474
>>>     CID 1634488:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "delete_on_close".
475     	if (!rename && !delete_on_close) {
476     		return;
477     	}
478
479     	state->lck = get_existing_share_mode_lock(state, fsp->file_id);
480     	if (state->lck == NULL) {

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Nov  7 17:21:53 UTC 2024 on atb-devel-224
2024-11-07 17:21:53 +00:00
..
auth auth: Fix CID 1615191 Uninitialized scalar variable 2024-09-20 18:25:53 +00:00
build
client s3:client:clitar: s/the the/to the/ in comment 2024-11-06 10:57:35 +00:00
exports
groupdb s3:groupdb: Add missing newline to logging message 2023-08-08 04:39:38 +00:00
include s3:headers: s/the the\b/the/ in comments 2024-11-06 10:57:35 +00:00
intl
lib s3:headers: s/the the\b/the/ in comments 2024-11-06 10:57:35 +00:00
libads libads: Modernize DEBUGs 2024-10-25 07:55:34 +00:00
libgpo/gpext lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
libnet s3:rpc_client: pass remote_{name,sockaddr} to rpccli_connect_netlogon() 2024-09-26 15:22:46 +00:00
librpc s3/locking: remember parent_lease_key that set delete-on-close 2024-11-05 14:39:30 +00:00
libsmb s3:libsmb: Make parse_node_status() more robust 2024-10-24 12:05:10 +00:00
locale s3:utils: Fix code spelling 2023-08-08 04:39:38 +00:00
locking s3/locking: return parent_lease_key from get_delete_on_close_token() 2024-11-05 14:39:30 +00:00
modules vfs_tsmsm: trigger NOTIFY_ACTION_DIRLEASE_BREAK when changing offline attribute 2024-11-05 14:39:30 +00:00
nmbd nmbd: Remove the "nmbd proxy logon" feature 2024-10-25 07:55:34 +00:00
param smbd: add option "smb3 directory leases" 2024-11-05 14:39:30 +00:00
passdb s3:passdb: ENCTYPE_DES_CBC_MD5 is not longer used in secrets_domain_info_kerberos_keys() 2024-09-30 17:03:55 +00:00
printing s3:printing and spoolss: s/the the\b/the/ in comments 2024-11-06 10:57:35 +00:00
profile profile: Fix rusage reporting 2023-12-19 16:05:36 +00:00
registry lib: Add a few explicit includes 2024-08-27 07:19:32 +00:00
rpc_client s3:cli_netlogon: don't change remote_name in rpccli_setup_netlogon_creds_locked() 2024-10-31 12:48:41 +00:00
rpc_server s3:printing and spoolss: s/the the\b/the/ in comments 2024-11-06 10:57:35 +00:00
rpcclient s3:rpc_client: pass remote_{name,sockaddr} to rpccli_setup_netlogon_creds[_locked]() 2024-09-29 06:56:33 +00:00
script s3:tests: Write stderr to file to be able to print it on failure 2024-09-27 07:55:29 +00:00
selftest selftest: add "smb2.dirlease" test suite 2024-11-05 14:39:31 +00:00
services s3:services: Initialize struct security_ace array 2024-07-16 11:41:33 +00:00
smbd smbd: initialize delete_on_close in smbd_smb2_setinfo_lease_break_fsp_check() 2024-11-07 17:21:53 +00:00
torture smbtorture: Allow debugging output to be configured using smb.conf parameters 2024-10-14 07:32:50 +00:00
utils s3/locking: add share_entry_forall_read() and share_entry_forall() varients 2024-11-05 14:39:30 +00:00
web
winbindd s3:winbindd: call process_set_title() for locator child 2024-10-31 14:02:39 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript source3/wscript: Introduce auto mode to build ceph vfs modules 2024-08-27 06:18:51 +00:00
wscript_build build: Fix LIBCLI_SAMR dependencies 2024-08-20 09:34:39 +00:00
wscript_configure_system_ncurses