[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 4/8] s390/sclp: read sccb from mem based on sccb length
From: |
Thomas Huth |
Subject: |
Re: [PATCH v2 4/8] s390/sclp: read sccb from mem based on sccb length |
Date: |
Thu, 11 Jun 2020 15:05:27 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 16/05/2020 00.20, Collin Walling wrote:
> The header contains the actual length of the SCCB. Instead of using a
> static 4K size, let's allow for a variable size determined by the value
> set in the header. The proper checks are already in place to ensure the
> SCCB length is sufficent to store a full response and that the length
> does not cross any explicitly-set boundaries.
>
> Signed-off-by: Collin Walling <walling@linux.ibm.com>
> ---
> hw/s390x/sclp.c | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
With the proper checks from the previous patch in place:
Reviewed-by: Thomas Huth <thuth@redhat.com>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v2 4/8] s390/sclp: read sccb from mem based on sccb length,
Thomas Huth <=