]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: Resolve unhandled exception in 45547/head
authorNikhil Kshirsagar <nkshirsagar@gmail.com>
Tue, 22 Mar 2022 05:04:23 +0000 (10:34 +0530)
committerNikhil Kshirsagar <nkshirsagar@gmail.com>
Thu, 31 Mar 2022 03:49:46 +0000 (09:19 +0530)
commit1109e62f6a3c0a7e06a088c4b833c8ecec51f791
tree2075766548ea4abd65b871a8bb5c1c5ed436bb74
parent622f197448fe7a26400039fe8e6b8ca8a87ee106
mon: Resolve unhandled exception in
__generate_command_map()

If improper json data is passed to rados, it can
end up crashing the mon. This fix will catch the
exception if thrown by __generate_command_map()
and avoid the mon getting terminated due to an
uncaught exception.

Fixes: https://tracker.ceph.com/issues/54558
Signed-off-by: Nikhil Kshirsagar <nkshirsagar@gmail.com>
src/mon/Monitor.cc