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-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-12 16:19:16 +02:00
2016-07-19 20:18:02 +02:00
2016-07-18 16:16:20 +08:00
2016-06-02 10:42:29 +08:00
2016-07-19 20:18:02 +02:00
2016-06-27 16:39:56 +01:00
2016-06-02 10:42:29 +08:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-18 16:17:02 +08:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-12 16:20:46 +02:00
2016-06-02 10:42:28 +08:00
2016-06-02 10:42:28 +08:00
2016-08-18 12:05:18 +08:00
2016-06-16 18:39:03 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-01-29 15:07:23 +00:00
2016-07-12 16:20:46 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-08-12 10:36:01 +01:00
2016-08-10 17:47:29 +03:00
2016-07-21 20:12:37 +01:00
2016-06-28 10:13:57 +08:00
2016-08-09 15:24:56 +08:00
2016-07-12 16:20:46 +02:00
2016-07-12 16:20:46 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-08-09 15:27:18 +08:00