grub/grub-core
Avnish Chouhan 09c512b8fa efiemu/loadcore: Add grub_calloc() failure check
Add a failure check after grub_calloc() call. If grub_calloc()
fails, e.g., due to memory allocation failure, it returns NULL.
Then using grub_efiemu_elfsyms, which will be NULL, later will
result in a NULL pointer dereference.

Signed-off-by: Avnish Chouhan <avnish@linux.ibm.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2025-12-21 16:41:46 +01:00
..
2023-01-19 17:39:04 +01:00
2025-11-18 14:34:44 +01:00
2025-02-26 19:34:57 +01:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00