]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: Fix another use after free
authorAdam C. Emerson <aemerson@redhat.com>
Mon, 7 Aug 2017 21:27:53 +0000 (17:27 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 7 Aug 2017 21:48:37 +0000 (17:48 -0400)
commit97d026dde679cabf1aaf026be3f08bfef63c140f
treea0bf99ffbef599f7754406d35d6f9129ac17ee92
parent8377ba6525de5ebfe33a7dda14f17d96e8ac4ef4
rgw: Fix another use after free

This one was caused by iterator invalidation in set operations. In
this case just replace the set entirely with a bitfield.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_iam_policy.cc