]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
libcephsqlite: ceph-mgr crashes when compiled with gcc12 47270/head
authorGanesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Mon, 11 Apr 2022 17:15:43 +0000 (10:15 -0700)
committerVikhyat Umrao <vikhyat@redhat.com>
Tue, 26 Jul 2022 17:58:16 +0000 (10:58 -0700)
commit5a10875d4570356afa3af024f63ac229caaa765b
treec3c49c996e5b4f83c43e36dcf284b4603182c580
parent0ced8dba89fc71d92ee7683e6a92fe2f6d74bc62
libcephsqlite: ceph-mgr crashes when compiled with gcc12

regex in libcephsqlite, when compiled with GCC12 treats '-' as a range
operator resulting in the following error.
"Invalid start of '[x-x]' range in regular expression"

Fixes: https://tracker.ceph.com/issues/55304
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
(cherry picked from commit ac043a09c5ffb4b434b8644920004b3d5b7f9d8c)
src/libcephsqlite.cc