Li Qiang
670e56d3ed
scsi: mptsas: use g_new0 to allocate MPTSASRequest object
...
When processing IO request in mptsas, it uses g_new to allocate
a 'req' object. If an error occurs before 'req->sreq' is
allocated, It could lead to an OOB write in mptsas_free_request
function. Use g_new0 to avoid it.
Reported-by: Li Qiang <liqiang6-s@360.cn>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-Id: <1473684251-17476-1-git-send-email-ppandit@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-09-14 12:25:13 +02:00
..
2016-08-30 19:23:00 +01:00
2016-08-12 10:36:01 +01:00
2016-08-12 10:36:01 +01:00
2016-09-13 19:09:42 +02:00
2016-09-08 18:05:21 +04:00
2016-09-08 18:05:21 +04:00
2016-07-12 15:08:53 +01:00
2016-09-13 19:09:42 +02:00
2016-09-08 18:05:22 +04:00
2016-06-17 16:33:48 +10:00
2016-07-12 16:20:46 +02:00
2016-09-13 09:28:10 +02:00
2016-09-13 19:09:43 +02:00
2016-06-14 15:59:13 +01:00
2016-08-03 18:44:56 +02:00
2016-09-13 19:09:44 +02:00
2016-09-08 18:05:21 +04:00
2016-09-08 18:05:21 +04:00
2016-09-07 09:52:14 +10:00
2016-05-18 15:04:27 +03:00
2016-09-13 19:09:42 +02:00
2016-09-08 18:05:21 +04: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-09-08 11:28:12 +01:00
2016-03-22 22:20:17 +01:00
2016-09-07 12:40:13 +10: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-09-07 12:40:12 +10:00
2016-09-10 00:28:08 +03:00
2016-09-14 12:25:13 +02:00
2016-09-08 18:05:22 +04: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-09-13 19:09:42 +02:00
2016-08-12 10:36:01 +01:00
2016-09-10 00:28:08 +03: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