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 <lukas.fi...@gmail.com>
> >
> > 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 <ross.philip...@oracle.com>

Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to