diff options
| author | P J P | 2015-12-21 10:43:13 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2016-01-15 18:58:01 +0100 |
| commit | 36fef36b91f7ec0435215860f1458b5342ce2811 (patch) | |
| tree | 8e0eff5468fe0ad660b6061143a3e9693f308de0 /include | |
| parent | i386: avoid null pointer dereference (diff) | |
| download | qemu-36fef36b91f7ec0435215860f1458b5342ce2811.tar.gz qemu-36fef36b91f7ec0435215860f1458b5342ce2811.tar.xz qemu-36fef36b91f7ec0435215860f1458b5342ce2811.zip | |
scsi: initialise info object with appropriate size
While processing controller 'CTRL_GET_INFO' command, the routine
'megasas_ctrl_get_info' overflows the '&info' object size. Use its
appropriate size to null initialise it.
Reported-by: Qinghao Tang <luodalongde@gmail.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-Id: <alpine.LFD.2.20.1512211501420.22471@wniryva>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: P J P <ppandit@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
