]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Monitor: validate prefix on handle_command() 10038/head
authorKefu Chai <kchai@redhat.com>
Thu, 30 Jun 2016 05:24:22 +0000 (13:24 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 30 Jun 2016 09:20:27 +0000 (17:20 +0800)
commitb78a1be835706e7dabc505be343945d0ac05697d
tree62ef6f50a49f1153d063f9ad68fb09006f2214ed
parentdac65d048919f701877de96d3271131853e532ed
mon: Monitor: validate prefix on handle_command()

Fixes: http://tracker.ceph.com/issues/16297
Signed-off-by: You Ji <youji@ebay.com>
(cherry picked from commit 7cb3434fed03a5497abfd00bcec7276b70df0654)

Conflicts:
    src/mon/Monitor.cc (the signature of Monitor::reply_command()
                        changed a little bit in master, so adapt the
                        commit to work with the old method)
src/mon/Monitor.cc
src/test/librados/cmd.cc