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

Joshua Daley <[email protected]>
Newsgroups gmane.comp.emulators.qemu
Message-ID <[email protected]>
The original version of this patch is part of the series
"[PATCH 0/5] more hardening fixes for s390"
from Christian Borntraeger <[email protected]>.

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.