From: Xi Wang Date: Sun, 15 Jan 2012 03:20:59 +0000 (-0500) Subject: ceph: fix length validation in parse_reply_info() X-Git-Tag: v3.3-rc3~30^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32852a81bccd9e3d1953b894966393d1b546576d;p=pandora-kernel.git 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 Signed-off-by: Sage Weil --- Reading git-diff-tree failed