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
..
2022-10-27 16:50:06 +02:00
2022-12-07 23:38:25 +01:00
2011-10-30 16:10:18 +01:00
2022-03-14 15:45:30 +01:00
2022-12-07 23:38:26 +01:00
2022-12-07 23:38:25 +01:00
2022-04-20 18:27:52 +02:00
2013-12-15 14:14:30 +01:00
2022-03-14 15:45:30 +01:00
2013-12-15 14:14:30 +01:00
2011-04-11 18:13:00 +02:00
2022-10-04 16:00:51 +02:00
2023-01-19 17:39:05 +01:00
2022-07-27 19:20:53 +02:00
2022-03-14 15:45:30 +01:00
2022-03-14 15:45:30 +01:00
2023-05-17 18:19:02 +02:00
2022-07-04 14:43:25 +02:00
2023-04-13 14:45:47 +02:00
2021-03-02 15:54:18 +01:00
2012-04-01 21:35:18 +02:00
2010-09-08 19:13:48 +02:00
2012-04-01 21:35:18 +02:00
2011-04-11 08:16:13 +02:00
2012-04-01 21:35:18 +02:00
2022-12-07 23:38:26 +01:00
2013-12-15 14:14:30 +01:00
2022-03-14 15:45:30 +01:00
2022-12-07 23:38:26 +01:00
2022-07-04 14:43:25 +02:00
2013-12-15 14:14:30 +01:00
2019-04-09 10:03:29 +10:00
2022-03-14 15:45:30 +01:00
2022-03-14 15:45:30 +01:00
2021-03-02 15:54:18 +01:00
2022-12-07 23:38:26 +01:00
2020-07-29 16:55:47 +02:00
2022-12-07 23:38:25 +01:00
2010-05-06 11:34:04 +05:30
2012-12-08 20:56:58 +01:00
2022-03-14 15:45:30 +01:00
2022-12-07 23:38:26 +01:00