SIGN IN SIGN UP

rgw/posix: fix crash in radosgw-admin

The POSIXBucket copy constructor incorrectly calls .get() on a
on a temporary unique_ptr returned by clone(), causing immediate
deletion of the Directory object. This leaves a dangling pointer
that triggers a segfault during destruction.

Signed-off-by: Nithya Balachandran <nithya.balachandran@ibm.com>
N
Nithya Balachandran committed
c8b1ae5d2ed63e08f1aa7e4fab7aba8f118ea928
Parent: bb278bb
Committed by Daniel Gryniewicz <dang@fprintf.net> on 5/29/2026, 4:05:12 PM