[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 4/8] s390/sclp: read sccb from mem based on sccb length
From: |
Cornelia Huck |
Subject: |
Re: [PATCH v3 4/8] s390/sclp: read sccb from mem based on sccb length |
Date: |
Mon, 22 Jun 2020 12:45:32 +0200 |
On Thu, 18 Jun 2020 18:22:54 -0400
Collin Walling <walling@linux.ibm.com> wrote:
> The header of the SCCB 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>
> Reviewed-by: Thomas Huth <thuth@redhat.com>
> ---
> hw/s390x/sclp.c | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
- Re: [PATCH v3 2/8] s390/sclp: check sccb len before filling in data, (continued)
- [PATCH v3 1/8] s390/sclp: get machine once during read scp/cpu info, Collin Walling, 2020/06/18
- [PATCH v3 5/8] s390/sclp: use cpu offset to locate cpu entries, Collin Walling, 2020/06/18
- [PATCH v3 4/8] s390/sclp: read sccb from mem based on sccb length, Collin Walling, 2020/06/18
- [PATCH v3 3/8] s390/sclp: rework sclp boundary and length checks, Collin Walling, 2020/06/18
- [PATCH v3 8/8] s390: guest support for diagnose 0x318, Collin Walling, 2020/06/18
- [PATCH v3 7/8] s390/kvm: header sync for diag318, Collin Walling, 2020/06/18