diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2010-04-06 12:15:04 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-05-18 01:09:57 +0200 |
commit | 6666032ade5a758aa05380ab92f416ab8ef25005 (patch) | |
tree | be2ef8e83cfd52afb31fee9574baebf5b6d3866c /drivers/block/drbd/drbd_req.c | |
parent | c3fe30b0e7cd67e0207097f5f39ce9626644879e (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