Re: [PATCH nf] netfilter: nf_conntrack: fix skb_header_pointer API usages in DCCP

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

 



On Mon, Jan 06, 2014 at 12:57:54AM +0100, Daniel Borkmann wrote:
> Some occurences in the netfilter tree use skb_header_pointer() in
> the following way ...
> 
>   struct dccp_hdr _dh, *dh;
>   ...
>   skb_header_pointer(skb, dataoff, sizeof(_dh), &dh);

I see, we're not crashing because *dh is 4 bytes at worst case, which
matches with the size of the dccp_hdr header.

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