Alec Brown e3c578a56f fs/sfs: Check if allocated memory is NULL
When using grub_zalloc(), if we are out of memory, this function can fail.
After allocating memory, we should check if grub_zalloc() returns NULL.
If so, we should handle this error.

Fixes: CID 473856

Signed-off-by: Alec Brown <alec.r.brown@oracle.com>
Reviewed-by: Ross Philipson <ross.philipson@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2025-02-13 15:45:57 +01:00
..
2011-10-30 16:10:18 +01:00
2025-02-13 15:45:56 +01:00
2011-04-11 18:13:00 +02:00
2022-03-14 15:45:30 +01:00
2011-04-11 08:16:13 +02:00
2010-05-06 11:34:04 +05:30
2012-12-08 20:56:58 +01:00