aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2018-02-01 00:01:58 +0000
committerSagi Grimberg <[email protected]>2018-02-08 16:35:55 +0000
commit8cb6af7b3a6d47f95ecb461a3f8d39cf6a64e4ae (patch)
tree41bb9867524fea4fff139d1c8a40f9d5825066eb /scripts/gcc-plugins/randomize_layout_plugin.c
parentnvme: delete NVME_CTRL_LIVE --> NVME_CTRL_CONNECTING transition (diff)
downloadkernel-8cb6af7b3a6d47f95ecb461a3f8d39cf6a64e4ae.tar.gz
kernel-8cb6af7b3a6d47f95ecb461a3f8d39cf6a64e4ae.zip
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 <[email protected]> Reviewed-by: Jens Axboe <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions