[PATCH] ui/ncurses: Prevent crash if bd->image NULL
Jeremy Kerr
jk at ozlabs.org
Tue Jul 22 18:50:08 EST 2014
Hi Sam,
> The discover server can pass boot options with no actual
> boot data if parsing conf files such as:
>
> label Dummy entry
>
> label Rexec petitboot latest
> kernel tftp://host/petitboot/vmlinux
> initrd tftp://host/petitboot/rootfs.cpio.xz
This shouldn't be allowed - we (currently) require that at least ->image
is set for a boot_option. If that's not the case, we need to fix the
boot options that are being created here.
Cheers,
Jeremy
More information about the Petitboot
mailing list