Actions
Bug #20112
closedUse boost::regex instead of std::regex for rgw_iam_policy.cc and rgw_role.cc
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
src/rgw/rgw_iam_policy.cc and src/rgw/rgw_role.cc include code that uses the std::regex header.
Per https://bugzilla.redhat.com/show_bug.cgi?id=1180035#c1 and other resources <regex> is not implemented in gcc 4.8 and rhel7/CentOS7 and this code will likely not work as expected.
The code should be changed to work with boost::regex which should be more universally available.
Actions