diff options
author | Keith Busch <keith.busch@intel.com> | 2018-02-01 03:01:58 +0300 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2018-02-08 19:35:55 +0300 |
commit | 8cb6af7b3a6d47f95ecb461a3f8d39cf6a64e4ae (patch) | |
tree | 41bb9867524fea4fff139d1c8a40f9d5825066eb /lib/ts_fsm.c | |
parent | 3096a739d2ccbfd6a626e388228a16558f76d79d (diff) | |
download | linux-8cb6af7b3a6d47f95ecb461a3f8d39cf6a64e4ae.tar.xz |
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: Keith Busch <keith.busch@intel.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions