Revision 747ffe11b440ef9ea752888806d3aac677ca52a4 authored by Dan Williams on 19 February 2016, 23:21:14 UTC, committed by Dan Williams on 19 February 2016, 23:21:52 UTC
Use the output length specified in the command to size the receive
buffer rather than the arbitrary 4K limit.

This bug was hiding the fact that the ndctl implementation of
ndctl_bus_cmd_new_ars_status() was not specifying an output buffer size.

Cc: <stable@vger.kernel.org>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent 6697b2c
History
File Mode Size
Makefile -rw-r--r-- 559 bytes
inffast.c -rw-r--r-- 12.7 KB
inffast.h -rw-r--r-- 403 bytes
inffixed.h -rw-r--r-- 6.2 KB
inflate.c -rw-r--r-- 26.7 KB
inflate.h -rw-r--r-- 5.5 KB
inflate_syms.c -rw-r--r-- 447 bytes
inftrees.c -rw-r--r-- 13.0 KB
inftrees.h -rw-r--r-- 2.3 KB
infutil.c -rw-r--r-- 1.2 KB
infutil.h -rw-r--r-- 657 bytes

back to top