qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] net: check payload length and minor updates
@ 2016-02-23 16:08 P J P
  2016-02-23 16:08 ` [Qemu-devel] [PATCH v2 1/2] net: check packet payload length P J P
  2016-02-23 16:08 ` [Qemu-devel] [PATCH v2 2/2] net: minor indentation updates P J P
  0 siblings, 2 replies; 7+ messages in thread
From: P J P @ 2016-02-23 16:08 UTC (permalink / raw)
  To: Qemu Developers; +Cc: Jason Wang, Prasad J Pandit, Markus Armbruster, Liu Ling

From: Prasad J Pandit <pjp@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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-02 12:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-23 16:08 [Qemu-devel] [PATCH v2 0/2] net: check payload length and minor updates P J P
2016-02-23 16:08 ` [Qemu-devel] [PATCH v2 1/2] net: check packet payload length P J P
2016-02-26  6:10   ` Jason Wang
2016-03-01  6:48     ` P J P
2016-03-02  3:21       ` Jason Wang
2016-03-02 12:01         ` P J P
2016-02-23 16:08 ` [Qemu-devel] [PATCH v2 2/2] net: minor indentation updates P J P

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).