summaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_req.c
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2010-04-06 12:15:04 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2010-05-18 01:09:57 +0200
commit6666032ade5a758aa05380ab92f416ab8ef25005 (patch)
treebe2ef8e83cfd52afb31fee9574baebf5b6d3866c /drivers/block/drbd/drbd_req.c
parentc3fe30b0e7cd67e0207097f5f39ce9626644879e (diff)
drbd: check for corrupt or malicous sector addresses when receiving data
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>
Diffstat (limited to 'drivers/block/drbd/drbd_req.c')
0 files changed, 0 insertions, 0 deletions