[PATCH v2 0/1] pc-bios/s390-ccw: bound zipl menu strlen and replace VLA in zipl_print_entry

Joshua Daley posted 1 patch 2 months ago
Failed in applying to current master (apply log)
pc-bios/s390-ccw/bootmap.c  |  4 +++-
pc-bios/s390-ccw/helper.h   | 10 ++++++++++
pc-bios/s390-ccw/menu.c     | 29 +++++++++++++++++++++++------
pc-bios/s390-ccw/s390-ccw.h |  2 +-
4 files changed, 37 insertions(+), 8 deletions(-)
[PATCH v2 0/1] pc-bios/s390-ccw: bound zipl menu strlen and replace VLA in zipl_print_entry
Posted by Joshua Daley 2 months ago
The original version of this patch is part of the series
"[PATCH 0/5] more hardening fixes for s390"
from Christian Borntraeger <borntraeger@linux.ibm.com>.

Changes v1 -> v2:

- Added a condition after the banner skip that returns 0 (boot default)
  before printing the banner, if there are no entries in menu_data.

- Modified commit message 2nd bullet, final sentence.

Joshua Daley (1):
  pc-bios/s390-ccw: bound zipl menu strlen and replace VLA in
    zipl_print_entry

 pc-bios/s390-ccw/bootmap.c  |  4 +++-
 pc-bios/s390-ccw/helper.h   | 10 ++++++++++
 pc-bios/s390-ccw/menu.c     | 29 +++++++++++++++++++++++------
 pc-bios/s390-ccw/s390-ccw.h |  2 +-
 4 files changed, 37 insertions(+), 8 deletions(-)

-- 
2.34.1
Re: [PATCH v2 0/1] pc-bios/s390-ccw: bound zipl menu strlen and replace VLA in zipl_print_entry
Posted by Eric Farman 1 month, 4 weeks ago

On 7/28/26 9:47 AM, Joshua Daley wrote:
> The original version of this patch is part of the series
> "[PATCH 0/5] more hardening fixes for s390"
> from Christian Borntraeger <borntraeger@linux.ibm.com>.
> 
> Changes v1 -> v2:
> 
> - Added a condition after the banner skip that returns 0 (boot default)
>    before printing the banner, if there are no entries in menu_data.
> 
> - Modified commit message 2nd bullet, final sentence.
> 
> Joshua Daley (1):
>    pc-bios/s390-ccw: bound zipl menu strlen and replace VLA in
>      zipl_print_entry

Applied for 11.2 with the extra sentence from Matt, and (per v1) cc stable.

Thank you!

> 
>   pc-bios/s390-ccw/bootmap.c  |  4 +++-
>   pc-bios/s390-ccw/helper.h   | 10 ++++++++++
>   pc-bios/s390-ccw/menu.c     | 29 +++++++++++++++++++++++------
>   pc-bios/s390-ccw/s390-ccw.h |  2 +-
>   4 files changed, 37 insertions(+), 8 deletions(-)
>