Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8cb6af7b authored by Keith Busch's avatar Keith Busch Committed by Sagi Grimberg
Browse files

nvme: Fix discard buffer overrun



This patch checks the discard range array bounds before setting it in
case the driver gets a badly formed request.

Signed-off-by: default avatarKeith Busch <keith.busch@intel.com>
Reviewed-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
parent 3096a739
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment