From: Prasad J Pandit <p...@fedoraproject.org>

The 'net_checksum_calculate' routine reads payload length from the
packet. It could exceed the given data length value and lead to OOB
memory access. While fixing that I also came across couple of minor
coding style glitches.

This series fixes both these issues as per review in
  -> https://lists.gnu.org/archive/html/qemu-devel/2016-02/msg03799.html
  -> https://lists.gnu.org/archive/html/qemu-devel/2016-02/msg04062.html

Thank you.
--
Prasad J Pandit (2):
  net: check packet payload length
  net: minor indentation updates

 net/checksum.c | 30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

-- 
2.5.0


Reply via email to