[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Qemu-trivial] [PATCH] target-s390x: fix possible out o
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-devel] [Qemu-trivial] [PATCH] target-s390x: fix possible out of bounds read |
Date: |
Tue, 25 Nov 2014 17:53:47 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 |
24.11.2014 05:47, zhanghailiang write:
> 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.
Applied to -trivial, thank you!
/mjt