]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
nautilus: mgr/dashboard: Hardening accessing the metadata 32128/head
authorVolker Theile <vtheile@suse.com>
Fri, 13 Dec 2019 14:48:45 +0000 (15:48 +0100)
committerVolker Theile <vtheile@suse.com>
Fri, 13 Dec 2019 14:48:45 +0000 (15:48 +0100)
commitc3832362686d84d3e96b329a64aeb4fa728c416c
tree1549b7e99ef3be8d38dee9bd2b563ad705cfb1a7
parentad5bd132e1492173c85fda2cc863152730b16a92
nautilus: mgr/dashboard: Hardening accessing the metadata

Partly backported from https://tracker.ceph.com/issues/41372. This is done because we only want to backport the hardened code to access the metadata information.

Fixes: https://tracker.ceph.com/issues/43079
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/controllers/cephfs.py
src/pybind/mgr/dashboard/tests/test_cephfs.py [new file with mode: 0644]
src/pybind/mgr/dashboard/tests/test_rbd_mirroring.py