commit | 41cb3301c04d7f0b046ed296a34ef261c456dde8 | [log] [tgz] |
---|---|---|
author | Vishal Verma <vishal.l.verma@intel.com> | Tue Nov 07 15:48:21 2017 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Wed Nov 08 08:49:48 2017 -0800 |
tree | b4f6a9caced93f32fbbea2f2d34f84332e9ad14f | |
parent | 5e096ef3b29e6113a7aa6a7dc4871987efa99bcb [diff] |
tools/testing/nvdimm: stricter bounds checking for error injection commands Ensure that the in/out sizes passed in the nd_cmd_package are sane for the fixed output size commands (i.e. inject error and clear injected error). Reported-by: Dariusz Dokupil <dariusz.dokupil@intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>