Searched hist:"362786 f14a753d8a5256ef97d7c10ed576d6572b" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/net/ |
H A D | checksum.c | diff 362786f14a753d8a5256ef97d7c10ed576d6572b Wed Mar 02 05:59:58 CST 2016 Prasad J Pandit <pjp@fedoraproject.org> net: check packet payload length
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 <liuling-it@360.cn> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> Signed-off-by: Jason Wang <jasowang@redhat.com>
|