On Thu, Nov 27, 2025 at 02:32:12PM +0530, Avnish Chouhan wrote:
> Adding a failure check in grub_calloc(). If grub_calloc fails,
> (e.g., due to memory allocation failure), it returns NULL.
> Then, using grub_efiemu_elfsyms (which would be NULL)
> later will result in a null pointer dereference,
> and can cause an undefined behavior.
>
> Signed-off-by: Avnish Chouhan <[email protected]>
> Reviewed-by: Sudhakar Kuppusamy <[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