Re: [nft PATCH] json: Fix for memleak in __binop_expr_json

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

 



On Thu, Apr 25, 2024 at 12:12:43AM +0200, Pablo Neira Ayuso wrote:
> On Wed, Apr 24, 2024 at 11:58:21PM +0200, Phil Sutter wrote:
> > When merging the JSON arrays generated for LHS and RHS of nested binop
> > expressions, the emptied array objects leak if their reference is not
> > decremented.
> > 
> > Fix this and tidy up other spots which did it right already by
> > introducing a json_array_extend wrapper.
> 
> Thanks for fixing it up so quick, no more issues with tests/shell.

Thanks for verifying, patch applied.




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

  Powered by Linux