diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-12-06 23:45:24 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-12-07 03:30:37 +0300 |
commit | 82aa37cf09867c5e2c0326649d570e5b25c1189a (patch) | |
tree | 3da4c93548233667ba727b444ca4ab11ed4b47c4 /mm/swapfile.c | |
parent | efda1b5d87cbc3d8816f94a3815b413f1868e10d (diff) | |
download | linux-82aa37cf09867c5e2c0326649d570e5b25c1189a.tar.xz |
acpi, nfit: validate ars_status output buffer size
If an ARS Status command returns truncated output, do not process
partial records or otherwise consume non-status fields.
Cc: <stable@vger.kernel.org>
Fixes: 0caeef63e6d2 ("libnvdimm: Add a poison list and export badblocks")
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions