Li Qiang 47882fa497 net: vmxnet: use g_new for pkt initialisation
When network 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: Jason Wang <jasowang@redhat.com>
2016-08-18 12:05:18 +08:00
..
2016-06-17 16:33:48 +10:00
2016-06-14 15:59:13 +01:00
2016-08-09 11:47:23 -04:00
2016-05-18 15:04:27 +03:00
2016-06-07 18:02:48 +03:00
2016-07-29 00:07:09 +03:00
2016-01-29 15:07:25 +00:00
2016-08-15 21:48:03 +01:00
2016-06-24 05:13:57 +03:00
2016-08-15 18:27:51 +01:00
2015-12-22 18:39:19 +02:00