Re: [iptables PATCH 01/17] xtables: Fix crash if nft_rule_list_get() fails

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

 



On Thu, Jul 19, 2018 at 10:12:32PM +0200, Florian Westphal wrote:
> Phil Sutter <phil@xxxxxx> wrote:
> > -	nft_rule_list_get(h);
> > +	if (!nft_rule_list_get(h)) {
> > +		printf("nft_rule_list_get() failed!\n");
> > +		return 0;
> > +	}
> 
> Applied, but i removed the printf().

Oh, hehe. That was actually just for debugging, thanks for tidying up
after me!

> There is still a 'Permission denied' error message, so I
> don't think the extra error buys anything.

Yes, I fully agree.

Thanks, Phil
--
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