diff options
| author | Philipp Reisner <philipp.reisner@linbit.com> | 2012-04-06 12:08:51 +0200 |
|---|---|---|
| committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 16:58:26 +0100 |
| commit | e4bad1bcacd82b3d7727e30db26be3580bdc722a (patch) | |
| tree | 8c276ba45b16777b72002d05fdf64f3bccd2eb02 /net/lapb/lapb_timer.c | |
| parent | a1096a6e9da7885ec9e11d93aa459685a33fa4d9 (diff) | |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
