]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Revert "TMP-REPRODUCE: vfs_recycle: demonstrate memory corruption in recycle_unlink_i...
authorStefan Metzmacher <metze@samba.org>
Tue, 18 Jun 2024 12:18:17 +0000 (14:18 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 19 Jun 2024 09:07:36 +0000 (09:07 +0000)
This was only added to demonstrate the problem more reliable.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15659

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Noel Power <noel.power@suse.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/modules/vfs_recycle.c

index f318e0ab1db0ec8e647c2bb0ea2a352560fbc75b..7827dcd638d7710bd70c09c74990654e4eb13c77 100644 (file)
@@ -476,8 +476,6 @@ static int recycle_unlink_internal(vfs_handle_struct *handle,
        int rc = -1;
        struct recycle_config_data *config = NULL;
 
-       reload_services(NULL, NULL, false);
-
        SMB_VFS_HANDLE_GET_DATA(handle,
                                config,
                                struct recycle_config_data,