Avnish Chouhan f8c48cbedc kern/mips/arc/init: Add missing grub_strdup() failure check
If grub_strdup() fails, it returns NULL and passing NULL further down to
the code can lead to segmentation fault or an undefined behavior.

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-11-18 12:49:31 +01:00
..
2020-07-29 16:55:47 +02:00
2023-05-25 16:48:00 +02:00
2025-01-23 16:22:47 +01:00
2012-02-26 22:49:24 +01:00
2010-05-06 11:34:04 +05:30