On Tue, Jan 14, 2025 at 12:46:08PM -0800, Ross Philipson via Grub-devel wrote: > On 1/5/25 12:24 AM, Glenn Washburn wrote: > > From: Lukas Fink <[email protected]> > > > > The pointer returned by grub_elf_file() is not checked to verify it is not > > null before use. A null pointer may be returned when the given file does > > not have a valid ELF header. > > Indeed or for a number of other reasons. Also other places in the switch > check if elf == NULL. > > Reviewed-by: Ross Philipson <[email protected]>
Reviewed-by: Daniel Kiper <[email protected]> Daniel _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
