]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_recycle: fix memory hierarchy
authorStefan Metzmacher <metze@samba.org>
Fri, 14 Jun 2024 08:07:02 +0000 (10:07 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 19 Jun 2024 09:07:36 +0000 (09:07 +0000)
commit2175856fef17964cef7cf8618b39736168219eec
tree210d98ef8e40c31d3767c94490fde3a3cdb1e681
parentb38241da3dd73386c4f41a56d95d33d4e1e3d2de
vfs_recycle: fix memory hierarchy

If the configuration is reloaded strings and string lists
in recycle_config_data could become stale pointers
leading to segmentation faults...

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 [deleted file]
source3/modules/vfs_recycle.c