]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix bug where variable referenced after data moved out 48229/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Thu, 1 Sep 2022 15:06:44 +0000 (11:06 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 23 Sep 2022 17:44:09 +0000 (13:44 -0400)
commit6dec933a70c0262885b2cc774392749df2713b54
treeb9269cb215fc520b50cfd2638e000e9e76b0bc74
parentcf519f96b57c7884bdcb1d8970bc9a6428dd3b6f
rgw: fix bug where variable referenced after data moved out

Addresses RGWGetObj_ObjStore_S3::override_range_hdr using a variable
for logging after the data had been moved out. This was caught by
coverity.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 6038511c70d0ed4f5eb75194c1bc071f10653136)
src/rgw/rgw_rest_s3.cc