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-08-12 10:36:01 +01:00
2016-08-12 10:36:01 +01:00
2016-08-12 10:36:01 +01:00
2016-08-12 10:36:01 +01:00
2016-08-12 10:36:01 +01:00
2016-08-12 10:36:01 +01:00
2016-07-12 15:08:53 +01:00
2016-08-12 10:36:01 +01:00
2016-08-08 13:05:43 +02:00
2016-06-17 16:33:48 +10:00
2016-07-12 16:20:46 +02:00
2016-08-12 10:36:01 +01:00
2016-08-12 10:36:01 +01:00
2016-06-14 15:59:13 +01:00
2016-08-03 18:44:56 +02:00
2016-08-12 10:36:01 +01:00
2016-08-09 11:47:23 -04:00
2016-08-12 10:36:01 +01:00
2016-08-12 10:36:01 +01:00
2016-05-18 15:04:27 +03:00
2016-06-07 18:02:48 +03:00
2016-08-12 10:36:01 +01:00
2016-07-12 16:20:46 +02:00
2016-03-22 22:20:17 +01:00
2016-07-20 19:30:26 +03:00
2016-07-12 16:20:46 +02:00
2016-08-08 09:00:44 +02:00
2016-08-12 10:36:01 +01:00
2016-03-22 22:20:17 +01:00
2016-08-18 12:05:18 +08:00
2016-08-12 10:36:01 +01:00
2016-03-22 22:20:17 +01:00
2016-08-12 10:36:01 +01:00
2016-07-29 00:07:09 +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-08-12 10:36:01 +01:00
2016-08-12 10:36:01 +01:00
2016-08-12 10:36:01 +01:00
2016-07-12 16:20:46 +02:00
2016-06-24 05:13:57 +03:00
2016-08-12 10:36:01 +01:00
2016-03-22 22:20:17 +01:00
2016-07-14 16:51:38 +01:00
2016-08-12 10:36:01 +01:00
2016-07-12 16:19:16 +02:00
2016-03-22 22:20:17 +01:00
2016-03-22 22:20:17 +01:00
2016-08-12 10:36:01 +01:00
2016-08-12 10:36:01 +01:00
2016-08-15 18:27:51 +01:00
2016-05-23 16:53:46 +02:00
2016-08-12 16:38:18 -07:00
2016-08-03 14:52:11 +02:00
2016-07-14 13:59:44 +03:00
2015-12-22 18:39:19 +02:00