Project

General

Profile

Actions

Bug #20112

closed

Use boost::regex instead of std::regex for rgw_iam_policy.cc and rgw_role.cc

Added by Brad Hubbard almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% 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

Also available in: Atom PDF