a95f341361
Since params are parsed directly from the PDU's data buffer, we need to know the end of the valid data. Otherwise previous PDUs that used this same data buffer may have left non-zero characters just after the end of the text associated with a LOGIN or TEXT PDU. Found this bug while debugging an intermittent Calsoft test failure. Added a unit test to reproduce the original issue, which now verifies that it is fixed. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ic3706639ff6c4f8f344fd58c88ec11e247ea654c Reviewed-on: https://review.gerrithub.io/c/442449 Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
acceptor.c | ||
acceptor.h | ||
conn.c | ||
conn.h | ||
init_grp.c | ||
init_grp.h | ||
iscsi_rpc.c | ||
iscsi_subsystem.c | ||
iscsi.c | ||
iscsi.h | ||
Makefile | ||
md5.c | ||
md5.h | ||
param.c | ||
param.h | ||
portal_grp.c | ||
portal_grp.h | ||
task.c | ||
task.h | ||
tgt_node.c | ||
tgt_node.h |