mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Fix two off-by-one errors: + One caused an out-of-bounds read when the loadparm value was 63 + The other made a boot entry unselectable. Currently, these bugs have no practical impact because: 1. The memory area beyond __stage2_params.config[63] is empty. 2. BOOT_MENU_ENTRIES is set to 63, which exceeds the number of boot menu entries that can be written to disk. Reviewed-by: Mikhail Zaslonko <zaslonko@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>