]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
admin-socket: fix potential buffer overflow
authorYunchuan Wen <yunchuan.wen@kylin-cloud.com>
Fri, 16 Dec 2016 08:12:16 +0000 (16:12 +0800)
committerYunchuan Wen <yunchuan.wen@kylin-cloud.com>
Fri, 16 Dec 2016 08:12:16 +0000 (16:12 +0800)
commit52deb168b29ab59ea90623301fee39eefabfea62
tree27eb53decca837dc92a9c5c608973e8db88a083b
parent8d7d5ae3ff601153cfe6724cceb0fe767557344d
admin-socket: fix potential buffer overflow

Add code to ensure cmd[pos] is valid memory.

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
src/common/admin_socket.cc