Files
qemu/hw/net
Li Qiang cb3677cd50 net: vmxnet: use g_new for pkt initialisation
When vmxnet transport abstraction layer initialises pkt,
the maximum fragmentation count is not checked. This could lead
to an integer overflow causing a NULL pointer dereference.
Replace g_malloc() with g_new() to catch the multiplication
overflow.

Reported-by: Li Qiang <liqiang6-s@360.cn>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Acked-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2016-09-08 15:29:37 -05:00
..
2016-02-23 12:43:05 +00:00
2016-01-29 15:07:23 +00:00
2016-02-04 13:22:06 +08:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2015-09-07 10:39:30 +01:00
2016-01-29 15:07:23 +00:00
2015-09-02 14:51:07 +01:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2015-07-27 14:12:18 +01:00
2016-01-29 15:07:23 +00:00
2016-08-05 16:14:47 -05:00
2016-01-29 15:07:23 +00:00
2016-03-22 22:20:16 +01:00
2016-03-22 22:20:16 +01:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00