diff options
| author | Prasad J Pandit | 2016-06-07 13:14:03 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2016-06-07 14:09:05 +0200 |
| commit | 844864fbae66935951529408831c2f22367a57b6 (patch) | |
| tree | 66baf9a29ae51a612322c404e62ab5ac3d7e5169 /default-configs/unicore32-linux-user.mak | |
| parent | scsi: mark TYPE_SCSI_DISK_BASE as abstract (diff) | |
| download | qemu-844864fbae66935951529408831c2f22367a57b6.tar.gz qemu-844864fbae66935951529408831c2f22367a57b6.tar.xz qemu-844864fbae66935951529408831c2f22367a57b6.zip | |
scsi: megasas: null terminate bios version buffer
While reading information via 'megasas_ctrl_get_info' routine,
a local bios version buffer isn't null terminated. Add the
terminating null byte to avoid any OOB access.
Reported-by: Li Qiang <liqiang6-s@360.cn>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'default-configs/unicore32-linux-user.mak')
0 files changed, 0 insertions, 0 deletions
