Actions
Bug #46485
closedrgw: lc: Segmentation Fault when the tag of the object was not found in the rule
% Done:
0%
Source:
Tags:
Backport:
octopus, nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
master needs the following patch in src/rgw/rgw_lc.cc
@@ -454,6 +454,8 @@ static inline bool has_all_tags(const lc_op& rule_action, for (const auto& tag : object_tags.get_tags()) { const auto& rule_tags = rule_action.obj_tags->get_tags(); const auto& iter = rule_tags.find(tag.first); + if(iter == rule_tags.end()) + continue; if(iter->second == tag.second) { tag_count++;
Patch taken from https://github.com/ceph/ceph/pull/35996 which could not be considered initially because it was opened against the wrong branch.
Updated by Nathan Cutler almost 4 years ago
- Status changed from New to In Progress
Updated by Or Friedmann almost 4 years ago
- Status changed from In Progress to Fix Under Review
Updated by Or Friedmann almost 4 years ago
- Assignee set to Or Friedmann
- Pull request ID set to 36055
Updated by Casey Bodley almost 4 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler almost 4 years ago
- Copied to Backport #46511: octopus: rgw: lc: Segmentation Fault when the tag of the object was not found in the rule added
Updated by Nathan Cutler almost 4 years ago
- Copied to Backport #46512: nautilus: rgw: lc: Segmentation Fault when the tag of the object was not found in the rule added
Updated by Nathan Cutler almost 4 years ago
- Status changed from Pending Backport to Resolved
Actions