grub/grub-core
Lidong Chen 61b13c187c fs/hfsplus: Set grub_errno to prevent NULL pointer access
When an invalid node size is detected in grub_hfsplus_mount(), data
pointer is freed. Thus, file->data is not set. The code should also
set the grub_errno when that happens to indicate an error and to avoid
accessing the uninitialized file->data in grub_file_close().

Signed-off-by: Lidong Chen <lidong.chen@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2023-05-17 18:19:02 +02:00
..
2023-01-19 17:39:04 +01:00
2023-05-17 13:21:43 +02:00
2023-05-17 13:21:43 +02:00
2022-03-14 16:00:27 +01:00
2022-11-14 20:24:39 +01:00
2017-08-14 16:27:10 +02:00
2017-05-03 12:49:31 +02:00
2023-05-17 13:23:44 +02:00
2017-05-03 12:49:31 +02:00