Re: [PATCH nftables] src: json: fix constant parsing on bigendian

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

 



On Wed, Aug 14, 2019 at 01:45:19PM +0200, Florian Westphal wrote:
> json restore is broken on big-endian because we errounously
> passed uint8_t with 64 bit size indicator.
> 
> On bigendian, this causes all values to get shifted by 56 bit,
> this will then cause the eval step to bail because all values
> are outside of the 8bit 0-255 protocol range.
> 
> Signed-off-by: Florian Westphal <fw@xxxxxxxxx>

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



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

  Powered by Linux