Re: [PATCH] hash: fix segfault by adding param name NULL check

2024-06-14 Thread David Marchand
On Thu, Jul 6, 2023 at 5:26 PM Conor Fogarty 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")

Re: [PATCH] hash: fix segfault by adding param name NULL check

2024-03-01 Thread Vladimir Medvedkin
+cc stable@ Acked-by: Vladimir Medvedkin чт, 6 июл. 2023 г. в 16:26, Conor Fogarty : > 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

[PATCH] hash: fix segfault by adding param name NULL check

2023-07-06 Thread Conor Fogarty
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") Signed-off-by: Conor Fogarty --- Cc: pablo.de.lara.gua...@in