From: Philipp Reisner Date: Fri, 6 Apr 2012 10:08:51 +0000 (+0200) Subject: drbd: Ensure that data_size is not 0 before using data_size-1 as index X-Git-Tag: v3.8-rc1~78^2~18^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4bad1bcacd82b3d7727e30db26be3580bdc722a;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