Re: [Qemu-devel] [PATCH v3] net: check packet payload length

2016-03-02 Thread Jason Wang
On 03/02/2016 07:59 PM, P J P wrote: > From: Prasad J Pandit > > While computing IP checksum, 'net_checksum_calculate' reads > payload length from the packet. It could exceed the given 'data' > buffer size. Add a check to avoid it. > > Reported-by: Liu Ling > Signed-off-by: Prasad J Pandit > -

[Qemu-devel] [PATCH v3] net: check packet payload length

2016-03-02 Thread P J P
From: Prasad J Pandit While computing IP checksum, 'net_checksum_calculate' reads payload length from the packet. It could exceed the given 'data' buffer size. Add a check to avoid it. Reported-by: Liu Ling Signed-off-by: Prasad J Pandit --- net/checksum.c | 10 -- 1 file changed, 8 i