Re: [PATCH nft] parser_json: reject non-concat expression

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

 



On Mon, Jul 21, 2025 at 01:09:55PM +0200, Florian Westphal wrote:
> Before "src: detach set, list and concatenation expression layout":
> internal:0:0-0: Error: Concatenation with 0 elements is illegal
> 
> After this change, expr->size access triggers assert() failure, add
> explicit test for etype to avoid this and error out:
> 
> internal:0:0-0: Error: Expected concat element, got symbol.
> 
> Fixes: e0d92243be1c ("src: detach set, list and concatenation expression layout")
> Signed-off-by: Florian Westphal <fw@xxxxxxxxx>

Reviewed-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>




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

  Powered by Linux