Re: [PATCH] netfilter: ebtables: fix a NULL pointer dereference in ebt_do_table()

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

 



Harshit Mogalapalli <harshit.m.mogalapalli@xxxxxxxxxx> wrote:
> In ebt_do_table() function dereferencing 'private->hook_entry[hook]'
> can lead to NULL pointer dereference. So add a check to prevent that.

This looks incorrect, i.e. paperimg over the problem.

If hook_entry[hook] is NULL, how did this make it to the eval loop?

I guess ebtables lacks a sanity check on incoming ruleset?



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

  Powered by Linux