diff options
author | 2012-01-14 22:20:59 -0500 | |
---|---|---|
committer | 2012-02-02 12:49:11 -0800 | |
commit | 32852a81bccd9e3d1953b894966393d1b546576d (patch) | |
tree | 8c21ce9f1a1e6ecfbeafdcc8552b77b3587bca5b /fs/ceph/caps.c | |
parent | ceph: initialize client debugfs outside of monc->mutex (diff) | |
download | linux-32852a81bccd9e3d1953b894966393d1b546576d.tar.gz linux-32852a81bccd9e3d1953b894966393d1b546576d.tar.bz2 linux-32852a81bccd9e3d1953b894966393d1b546576d.zip |
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/ceph/caps.c')
0 files changed, 0 insertions, 0 deletions