TMP-REPRODUCE: vfs_recycle: demonstrate memory corruption in recycle_unlink_internal()
commit6467c47cbe562e99e970dbb895e1068f54e6295b
authorStefan Metzmacher <metze@samba.org>
Fri, 14 Jun 2024 11:40:35 +0000 (14 13:40 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 19 Jun 2024 09:07:36 +0000 (19 09:07 +0000)
tree5330f70821e5e12d8e614a46440c1c99a8c40b1e
parent2916b6096e16fb44d659b7e60d3f3a569d037279
TMP-REPRODUCE: vfs_recycle: demonstrate memory corruption in recycle_unlink_internal()

Forcing a reload of the smb.conf option values means the pointer learned
in vfs_recycle_connect() become stale.

This will be reverted at the end of the patset again.

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>
selftest/knownfail.d/samba3.blackbox.recycle [new file with mode: 0644]
source3/modules/vfs_recycle.c