drbd: check for corrupt or malicous sector addresses when receiving data
authorLars Ellenberg <lars.ellenberg@linbit.com>
Tue, 6 Apr 2010 10:15:04 +0000 (12:15 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 May 2010 23:09:57 +0000 (01:09 +0200)
Even if it should never happen if the peer does behave, we need to
double check, and not even attempt access beyond end of device.
It usually would be caught by lower layers, resulting in "IO error",
but may also end up in the internal meta data area.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>

No differences found