diff options
| author | Prasad J Pandit <pjp@fedoraproject.org> | 2016-06-07 16:44:03 +0530 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-06-07 14:09:05 +0200 |
| commit | 844864fbae66935951529408831c2f22367a57b6 (patch) | |
| tree | 66baf9a29ae51a612322c404e62ab5ac3d7e5169 /hw/timer/lm32_timer.c | |
| parent | 6214a11ac167b1e866c04a81360286d186f04d82 (diff) | |
| download | focaccia-qemu-844864fbae66935951529408831c2f22367a57b6.tar.gz focaccia-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 'hw/timer/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions