On Tue, Jun 10, 2025 at 09:20:38PM +0530, Sudhakar wrote:
> From: Daniel Axtens <[email protected]>
>
> Trying to start grub-emu with a module that calls grub_dl_set_persistent
> and grub_dl_is_persistent will crash because grub-emu fakes modules and
> passes NULL to the module init function.
>
> Provide an empty function for the emu case.
>
> Fixes: ee7808e2197c (dl: Add support for persistent modules)
> Signed-off-by: Daniel Axtens <[email protected]>
> Signed-off-by: Sudhakar Kuppusamy <[email protected]>
> Reviewed-by: Stefan Berger <[email protected]>
> Reviewed-by: Avnish Chouhan <[email protected]>

Reviewed-by: Daniel Kiper <[email protected]>

Daniel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to