Re: [iptables PATCH] include: Avoid undefined left-shift in xt_sctp.h

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

 



On Fri, May 29, 2020 at 08:10:22PM +0200, Phil Sutter wrote:
> Pull the fix in kernel commit 164166558aace ("netfilter: uapi: Avoid
> undefined left-shift in xt_sctp.h") into iptables repository. The
> original description is:
> 
> With 'bytes(__u32)' being 32, a left-shift of 31 may happen which is
> undefined for the signed 32-bit value 1. Avoid this by declaring 1 as
> unsigned.
> 
> Signed-off-by: Phil Sutter <phil@xxxxxx>

Acked-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>

Thanks Phil.



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

  Powered by Linux