+4
−0
Loading
Input validation was removed while ago as part of other fix, see https://review.spdk.io/gerrit/c/spdk/spdk/+/11709 . By restoring input validation code is more aligned with other _populate and _parse public functions. Without input validation segfault could happen when using nvmf due to lack of trtype specified for json-rpc methods taking listen_address as an input. It is possible because curently listen_address decoder do not mark this argument as required (and doing early validation). It should change after next release if [listen_]address.transport argument would be removed eventually. Change-Id: Ie63b6cadcef41f92ea7d0c67dee00f2df474a4f0 Signed-off-by:Jacek Kalwas <jacek.kalwas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22916 Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>