summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorzhanghailiang2014-11-24 03:47:45 +0100
committerMichael Tokarev2014-12-10 09:14:44 +0100
commit1a71992376792a0d11ea27688bd1a21cdffd1826 (patch)
tree5bcaca48666429b543e109278b06dde7414d6e00 /scripts
parentqmp: fix typo in input-send-event examples (diff)
downloadqemu-1a71992376792a0d11ea27688bd1a21cdffd1826.tar.gz
qemu-1a71992376792a0d11ea27688bd1a21cdffd1826.tar.xz
qemu-1a71992376792a0d11ea27688bd1a21cdffd1826.zip
target-s390x: fix possible out of bounds read
Array index starts at 0, so the valid index of ext_queue array, io_queue array, mchk_queue array should be MAX_EXT_QUEUE - 1, MAX_IO_QUEUE - 1, MAX_MCHK_QUEUE - 1. The original checks missed the invalid bound value, which will lead possible out of bounds read in the follow codes. Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions