diff options
| author | zhanghailiang | 2014-11-24 03:47:45 +0100 |
|---|---|---|
| committer | Michael Tokarev | 2014-12-10 09:14:44 +0100 |
| commit | 1a71992376792a0d11ea27688bd1a21cdffd1826 (patch) | |
| tree | 5bcaca48666429b543e109278b06dde7414d6e00 /scripts | |
| parent | qmp: fix typo in input-send-event examples (diff) | |
| download | qemu-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
