mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
When a loadparm is presented by the user it's not checked whether it's too large. Add this missing check to fix an out-of-bounds read. The problem did not show up because the area behind the buffer is empty. Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Eduard Shishkin <edward6@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>