CVE-2022-3854: rgw: Fix `rgw::sal::Bucket::empty` static method signatures
authorAdam C. Emerson <aemerson@redhat.com>
Mon, 11 Jul 2022 15:52:09 +0000 (11:52 -0400)
committerThomas Goirand <zigo@debian.org>
Mon, 9 Jan 2023 10:41:27 +0000 (10:41 +0000)
commit77ed5979558107fd0c13434ee9ac0ecd795595d1
tree6b10f952db7a109ff1b7423c7d0ab704d36c4c94
parent1cec5987cc316082876867baf1130f947124e770
CVE-2022-3854: rgw: Fix `rgw::sal::Bucket::empty` static method signatures

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Fixes: https://tracker.ceph.com/issues/56586
Origin: upstream, https://github.com/ceph/ceph/pull/47194/commits/9746e8011ff1de6de7dba9c0041e28a16c8f6828.patch
Bug-Debian: https://bugs.debian.org/1027151
Last-Update: 2022-01-09

`unique_ptr` overload should take by reference.

Both should be const.

Gbp-Pq: Name CVE-2022-3854_2_rgw_Fix_rgw_sal_Bucket_empty_static_method_signatures.patch
src/rgw/rgw_sal.h