[dpdk-dev] [PATCH] cryptodev: fix cryptodev parameter parsing

Akhil Goyal akhil.goyal at nxp.com
Fri Oct 9 19:51:57 CEST 2020


> The rte_cryptodev_pmd_parse_input_args function crashes with a
> segmentation fault when passing a non-empty argument string.
> 
> The function passes cryptodev_pmd_valid_params to rte_kvargs_parse,
> which accepts a NULL-terminated list of valid keys, yet
> cryptodev_pmd_valid_params does not end with NULL. The patch adds the
> missing NULL pointer.
> 
> Fixes: 9e6edea41805 ("cryptodev: add APIs to assist PMD initialisation")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Haggai Eran <haggaie at nvidia.com>
> ---
Acked-by: Akhil Goyal <akhil.goyal at nxp.com>

Applied to dpdk-next-crypto

Thanks.


More information about the dev mailing list