]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
libcephsqlite: ceph-mgr crashes when compiled with gcc12 47271/head
authorGanesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Mon, 11 Apr 2022 17:15:43 +0000 (10:15 -0700)
committerVikhyat Umrao <vikhyat@redhat.com>
Mon, 25 Jul 2022 22:59:49 +0000 (15:59 -0700)
commit5aa203625d1c32b10401460cacd1dd68b850b1d0
treee206c52c7d064eb6aac4eb270a75c6d328ba546f
parent326a13991da4406903cf23cbeeab34bfaf6386fd
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