Re: [PATCH v4 4/8] s390/sclp: read sccb from mem based on sccb length

2020-07-20 Thread Collin Walling
On 7/20/20 4:19 AM, David Hildenbrand wrote: > On 24.06.20 22:23, Collin Walling 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

Re: [PATCH v4 4/8] s390/sclp: read sccb from mem based on sccb length

2020-07-20 Thread David Hildenbrand
On 24.06.20 22:23, Collin Walling 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

[PATCH v4 4/8] s390/sclp: read sccb from mem based on sccb length

2020-06-24 Thread Collin Walling
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