summaryrefslogtreecommitdiffstats
path: root/linux-headers/asm-mips
diff options
context:
space:
mode:
authorPrasad J Pandit2016-06-07 13:14:03 +0200
committerPaolo Bonzini2016-06-07 14:09:05 +0200
commit844864fbae66935951529408831c2f22367a57b6 (patch)
tree66baf9a29ae51a612322c404e62ab5ac3d7e5169 /linux-headers/asm-mips
parentscsi: mark TYPE_SCSI_DISK_BASE as abstract (diff)
downloadqemu-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 'linux-headers/asm-mips')
0 files changed, 0 insertions, 0 deletions