1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00
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
..
2024-04-17 07:57:36 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-11-01 18:55:32 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2024-02-08 02:48:44 +00:00
2020-11-04 18:55:39 +00:00
2023-11-01 18:55:32 +00:00
2023-11-20 15:37:33 +00:00
2023-07-19 09:58:37 +00:00
2024-07-08 07:36:32 +00:00
2022-04-07 17:37:29 +00:00
2024-06-28 13:26:24 +00:00
2023-07-19 09:58:37 +00:00
2024-11-05 14:39:30 +00:00
2023-07-19 09:58:37 +00:00
2023-10-25 22:23:37 +00:00
2024-06-04 07:11:35 +00:00
2022-08-04 20:44:32 +00:00
2024-08-06 16:29:33 +00:00