New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kraken: rgw: unsafe access in RGWListBucket_ObjStore_SWIFT::send_response() #14530
Conversation
src/rgw/rgw_rest_swift.cc
Outdated
rgw_obj_key& key = iter->key; | ||
if (iter != objs.end()) { | ||
rgw_obj_key& key = iter->key; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
8349291
to
a7c38a1
Compare
If I'm parsing the code correctly, the
And In this case, I think |
a7c38a1
to
92b3515
Compare
Fixes: http://tracker.ceph.com/issues/19249 Signed-off-by: Yehuda Sadeh <yehuda@redhat.com> (cherry picked from commit a9ec5e8) Conflicts: src/rgw/rgw_rest_swift.cc ("key" element of RGWObjEnt struct is not a reference; fix)
92b3515
to
59391c4
Compare
This PR passed an rgw suite at http://tracker.ceph.com/issues/19009#note-60 |
http://tracker.ceph.com/issues/19574