summaryrefslogtreecommitdiff
path: root/fs/pnode.h
diff options
context:
space:
mode:
authorXi Wang <xi.wang@gmail.com>2012-01-15 03:20:59 (GMT)
committerSage Weil <sage@newdream.net>2012-02-02 20:49:11 (GMT)
commit32852a81bccd9e3d1953b894966393d1b546576d (patch)
tree8c21ce9f1a1e6ecfbeafdcc8552b77b3587bca5b /fs/pnode.h
parentab434b60ab07f8c44246b6fb0cddee436687a09a (diff)
downloadlinux-fsl-qoriq-32852a81bccd9e3d1953b894966393d1b546576d.tar.xz
ceph: fix length validation in parse_reply_info()
"len" is read from network and thus needs validation. Otherwise, given a bogus "len" value, p+len could be an out-of-bounds pointer, which is used in further parsing. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/pnode.h')
0 files changed, 0 insertions, 0 deletions