Re: [PATCH nf] netfilter: nf_tables: fix NULL pointer dereference on nft_ct_helper_obj_dump()

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

 



On Wed, May 16, 2018 at 04:21:05PM +0200, Florian Westphal wrote:
> Taehee Yoo <ap420073@xxxxxxxxx> wrote:
> > In the nft_ct_helper_obj_dump(), always priv->helper4 is dereferenced.
> > But if family is ipv6, priv->helper6 should be dereferenced.
> > 
> > Steps to reproduces:
> > 
> >    #test.nft
> >    table ip6 filter {
> > 	   ct helper ftp {
> > 		   type "ftp" protocol tcp
> > 	   }
> > 	   chain input {
> > 		   type filter hook input priority 4;
> > 		   ct helper set "ftp"
> > 	   }
> >    }
> 
> Acked-by: Florian Westphal <fw@xxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux