Files
s390-tools/zipl/boot
Marc Hartmayer 8d58a9abb0 zipl/boot: Fix two off-by-one bugs
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>
2025-12-10 14:41:43 +01:00
..
2025-11-07 14:34:48 +01:00
2017-08-21 10:55:40 +02:00
2017-08-21 10:55:40 +02:00
2025-11-07 14:34:48 +01:00
2017-08-21 10:55:40 +02:00
2017-08-21 10:55:40 +02:00
2025-09-15 11:47:32 +02:00
2025-11-07 14:34:48 +01:00
2025-12-10 14:41:43 +01:00
2025-10-14 09:57:06 +02:00
2025-11-07 14:34:48 +01:00
2020-05-06 17:36:39 +02:00
2025-11-07 14:34:48 +01:00
2025-11-07 14:34:48 +01:00
2025-11-07 14:34:48 +01:00
2025-11-07 14:34:48 +01:00