Files
qemu/hw
Li Qiang 12be5cfe1c 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>
(cherry picked from commit 670e56d3ed)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2016-09-20 11:03:32 -05:00
..
2016-04-15 17:27:34 +02:00
2016-04-07 19:57:33 +03:00
2016-08-05 16:14:47 -05:00
2016-08-09 14:25:31 -05:00
2016-04-07 19:57:33 +03:00
2016-01-29 15:07:25 +00:00
2016-01-29 15:07:25 +00:00
2016-08-05 16:14:47 -05:00
2016-08-05 14:30:32 -05:00
2016-01-29 15:07:23 +00:00
2015-12-22 18:39:19 +02:00