]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os: put a guard when read the entire object
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 5 Jan 2016 08:10:07 +0000 (16:10 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 5 Jan 2016 08:33:15 +0000 (16:33 +0800)
commitc07dcd53dc3fde2322e60148c97a5338008756ea
treeaee321d4d8700dacafd2581779b079839208cf3b
parent6c55cec6a2d59a64d33beb09880e069af03655d1
os: put a guard when read the entire object

Otherwise the read operation may overflow.

Fixes: #14229
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/memstore/MemStore.cc