From: Philipp Reisner Date: Wed, 28 Mar 2012 08:17:32 +0000 (+0200) Subject: drbd: Ensure that data_size is not 0 before using data_size-1 as index X-Git-Tag: v3.5-rc1~41^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5de738272e38f7051c7a44c42631b71a0e2a1e80;p=pandora-kernel.git drbd: Ensure that data_size is not 0 before using data_size-1 as index This could be exploited by a peer which runs modified code. Reported-by: Dan Carpenter Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed