aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_req.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2012-03-28 10:17:32 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-05-09 15:16:56 +0200
commit5de738272e38f7051c7a44c42631b71a0e2a1e80 (patch)
tree8693bda089848c0fe3123b2ac1c46f9b89300d47 /drivers/block/drbd/drbd_req.c
parent197296ffed71b7d5056d8618a07fec145b040303 (diff)
downloadvexpress-lsk-5de738272e38f7051c7a44c42631b71a0e2a1e80.tar.gz
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 <dan.carpenter@oracle.com> 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