Re: [PATCH] nfit_test: stricter bounds checking for error injection commands

2017-11-08 Thread Dan Williams
On Tue, Nov 7, 2017 at 2:48 PM, Vishal Verma wrote: > 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). > > Cc: Dan Williams > Signed-off-by: Vishal Verma Looks good, I'll also add a: Reported

[PATCH] nfit_test: stricter bounds checking for error injection commands

2017-11-07 Thread Vishal Verma
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). Cc: Dan Williams Signed-off-by: Vishal Verma --- tools/testing/nvdimm/test/nfit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -