]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: avoid use-after-move in RGWDataSyncSingleEntryCR ctor 47904/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 1 Sep 2022 14:43:39 +0000 (10:43 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 1 Sep 2022 14:44:58 +0000 (10:44 -0400)
commita4c2e6310d4fc41f99208c80525afe25412218c5
tree396df7d4e8b2c8ada442de7934e82f8082209961
parentf4df4090b040f1d2c2912533f0cbf5fae6fab9c4
rgw: avoid use-after-move in RGWDataSyncSingleEntryCR ctor

the constructor body below accesses the constructor's 'obligation'
parameter instead of the member variable it was moved into

Fixes: https://tracker.ceph.com/issues/57329
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.cc