[PATCH] hash: fix segfault by adding param name NULL check
David Marchand
david.marchand at redhat.com
Fri Jun 14 15:47:40 CEST 2024
On Thu, Jul 6, 2023 at 5:26 PM Conor Fogarty <conor.fogarty at intel.com> wrote:
>
> Add NULL pointer check to params->name, which is later
> copied into the hash datastructure. Without this check
> the code segfaults on the strlcpy() of a NULL pointer.
>
> Fixes: 48a399119619 ("hash: replace with cuckoo hash implementation")
Cc: stable at dpdk.org
>
> Signed-off-by: Conor Fogarty <conor.fogarty at intel.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list