]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
libcephsqlite: ceph-mgr crashes when compiled with gcc12 45858/head
authorGanesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Mon, 11 Apr 2022 17:15:43 +0000 (10:15 -0700)
committerGanesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Tue, 12 Apr 2022 22:16:01 +0000 (15:16 -0700)
commitac043a09c5ffb4b434b8644920004b3d5b7f9d8c
tree8812fa5dcd7191a3569183df66a9f110a881e9d4
parent4ba019b10bd732774738ef26b4e32b11ca0fc3e7
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>
src/libcephsqlite.cc