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
..
2019-04-08 15:22:10 +10:00
2022-04-20 18:27:52 +02:00
2023-03-29 20:35:05 +02:00
2023-02-01 16:16:54 +01:00
2022-08-20 00:23:11 +02:00
2023-05-16 18:51:12 +02:00
2023-05-17 18:19:02 +02:00
2023-01-19 17:39:04 +01:00
2022-03-14 15:45:59 +01:00
2022-03-14 15:46:18 +01:00
2012-03-03 13:05:08 +01:00
2011-11-11 21:03:49 +01: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
2023-03-29 20:35:05 +02:00
2022-04-20 18:27:52 +02:00
2023-05-17 18:19:01 +02:00
2022-12-07 23:38:25 +01:00
2023-03-07 15:47:42 +01:00
2022-03-14 15:59:07 +01:00
2022-11-14 17:17:21 +01:00
2022-03-14 15:59:45 +01:00
2023-05-16 16:52:15 +02:00
2022-03-14 16:00:27 +01:00
2022-11-14 20:24:39 +01:00
2023-03-14 16:07:54 +01:00
2023-03-14 16:07:54 +01:00
2014-01-18 23:15:40 +04:00
2014-01-18 23:15:40 +04:00
2022-03-07 15:05:22 +01:00
2017-08-14 16:27:10 +02:00
2017-05-03 12:49:31 +02:00
2022-03-21 18:47:16 +01:00
2013-03-01 11:15:09 +01:00
2023-05-17 13:23:44 +02:00
2023-05-17 13:23:44 +02:00
2017-05-03 12:49:31 +02:00