On 15/09/2020 21.44, Collin Walling wrote: > The header contained within the SCCB passed to the SCLP service call > contains the actual length of the SCCB. Instead of allocating a static > 4K size for the work sccb, let's allow for a variable size determined > by the value 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 <wall...@linux.ibm.com> > --- > hw/s390x/event-facility.c | 2 +- > hw/s390x/sclp.c | 55 ++++++++++++++++++++++----------------- > include/hw/s390x/sclp.h | 2 +- > 3 files changed, 33 insertions(+), 26 deletions(-)
Reviewed-by: Thomas Huth <th...@redhat.com>