Prasad J Pandit
973e7170dd
virtio: add check for descriptor's mapped address
...
virtio back end uses set of buffers to facilitate I/O operations.
If its size is too large, 'cpu_physical_memory_map' could return
a null address. This would result in a null dereference while
un-mapping descriptors. Add check to avoid it.
Reported-by: Qinghao Tang <luodalongde@gmail.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2016-09-23 18:51:40 +03:00
..
2016-09-19 11:39:48 +02:00
2016-08-12 10:36:01 +01:00
2016-08-12 10:36:01 +01:00
2016-09-22 18:13:07 +01:00
2016-09-15 15:10:06 +02:00
2016-09-13 11:00:56 +01:00
2016-09-13 18:12:34 +03:00
2016-09-13 19:09:42 +02:00
2016-09-22 18:13:08 +01:00
2016-06-17 16:33:48 +10:00
2016-07-12 16:20:46 +02:00
2016-09-22 18:13:08 +01:00
2016-09-22 18:13:06 +01:00
2016-06-14 15:59:13 +01:00
2016-08-03 18:44:56 +02:00
2016-09-22 17:25:59 +02:00
2016-09-08 18:05:21 +04:00
2016-09-23 10:29:40 +10:00
2016-09-23 12:39:07 +10:00
2016-05-18 15:04:27 +03:00
2016-09-23 11:42:52 +08:00
2016-09-08 18:05:21 +04:00
2016-07-12 16:20:46 +02:00
2016-09-22 18:13:06 +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-09-22 18:13:09 +01:00
2016-03-22 22:20:17 +01:00
2016-09-23 14:26:12 +01:00
2016-09-23 11:42:52 +08: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-09-23 14:26:12 +01:00
2016-09-19 12:41:28 +01:00
2016-09-23 10:29:40 +10:00
2016-09-22 18:13:08 +01:00
2016-09-15 15:32:22 +03:00
2016-09-23 11:42:52 +08:00
2016-08-12 10:36:01 +01:00
2016-03-22 22:20:17 +01:00
2016-09-22 18:13:09 +01:00
2016-09-22 18:13:09 +01:00
2016-07-12 16:19:16 +02:00
2016-09-15 15:32:22 +03:00
2016-03-22 22:20:17 +01:00
2016-09-15 14:56:36 +01:00
2016-09-15 10:41:36 -06:00
2016-09-23 18:51:40 +03:00
2016-05-23 16:53:46 +02:00
2016-08-12 16:38:18 -07:00
2016-09-23 11:42:52 +08:00
2016-07-14 13:59:44 +03:00
2015-12-22 18:39:19 +02:00