Re: [PATCH nft] payload: don't decode past last valid template

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

 



On Thu, Feb 15, 2018 at 03:29:38PM +0100, Florian Westphal wrote:
> When trying to decode payload header fields, be sure to bail out
> when having exhausted all available templates.
> 
> Otherwise, we allocate invalid payload expressions (no dataype,
> header length of 0) and then crash when trying to print them.
> 
> Fixes: https://bugzilla.netfilter.org/show_bug.cgi?id=1226
> Signed-off-by: Florian Westphal <fw@xxxxxxxxx>

Acked-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
--
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