Re: [PATCH nftables] src: add xzalloc_array() and use it to allocate the expression hashtable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 14, 2021 at 02:50:56PM +0200, Pablo Neira Ayuso wrote:
> Otherwise, assertion to ensure that no colission occur is hit due to
> uninitialized hashtable memory area:
> 
> nft: netlink_delinearize.c:1741: expr_handler_init: Assertion `expr_handle_ht[hash] == NULL' failed.

Oh, stupid mistake. Thanks for the fix!

> Fixes: c4058f96c6a5 ("netlink_delinearize: Fix suspicious calloc() call")
> Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>

Acked-by: Phil Sutter <phil@xxxxxx>

Cheers, Phil



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux