Heinrich Schuchardt
ca01c847f6
efi_selftest: fix ESRT creation tests
...
The code foresees that parameters descriptor_size and descriptor_count
might be NULL and then dereferences them without further check.
The size check must take into account the descriptor count.
ImageInfo might be NULL. In this case we must not dereference it.
Fixes: 4ac6041c3cbf ("efi: ESRT creation tests")
Addresses-Coverity-ID: CID 569497: Null pointer dereferences (FORWARD_NULL)
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2025-07-26 07:37:03 +02:00
..
2020-01-07 18:08:20 +01:00
2019-03-14 21:03:14 +01:00
2021-11-07 18:36:55 +01:00
2021-11-07 18:36:55 +01:00
2021-11-07 18:36:55 +01:00
2021-11-07 18:36:55 +01:00
2021-11-07 18:36:55 +01:00
2021-11-07 18:36:55 +01:00
2023-10-12 08:32:27 +02:00
2025-07-03 11:32:49 +03:00
2022-01-29 10:23:40 +01:00
2022-01-29 10:23:40 +01:00
2024-07-15 12:12:18 -06:00
2022-01-29 10:23:40 +01:00
2025-07-26 07:37:03 +02:00
2022-01-29 10:23:40 +01:00
2022-02-03 12:16:01 -05:00
2018-05-10 20:38:35 -04:00
2024-07-15 12:12:18 -06:00
2025-04-19 12:47:17 +02:00
2025-07-26 07:37:03 +02:00
2022-01-29 10:23:40 +01:00
2022-10-06 22:54:58 +02:00
2022-02-03 12:16:01 -05:00
2023-04-08 07:46:44 +02:00
2024-06-30 13:58:31 +02:00
2022-01-29 10:23:40 +01:00
2024-10-30 14:54:08 +01:00
2025-04-11 13:27:54 +02:00
2024-12-04 12:24:38 +01:00
2024-12-04 12:24:38 +01:00
2024-07-15 12:12:18 -06:00
2019-05-07 21:10:04 +02:00
2022-09-30 02:03:23 +02:00
2023-06-16 06:48:46 +02:00
2020-03-22 11:06:23 +01:00
2020-05-07 18:23:16 +02:00
2023-12-21 08:54:37 -05:00
2024-01-29 11:29:19 +01:00
2023-12-21 08:54:37 -05:00
2019-06-01 22:40:24 +02:00
2023-06-16 06:45:19 +02:00
2022-02-03 12:16:01 -05:00
2022-01-29 10:23:40 +01:00
2022-01-29 10:23:40 +01:00
2022-01-29 10:23:40 +01:00
2025-03-10 06:41:05 +01:00
2025-01-05 02:30:48 +01:00
2022-01-29 10:23:40 +01:00
2024-01-26 14:16:17 +01:00
2022-01-29 10:23:40 +01:00
2022-01-29 10:23:40 +01:00
2024-03-21 06:56:13 +01:00
2022-10-06 22:54:58 +02:00
2022-05-03 21:39:22 +02:00
2024-03-21 06:56:14 +01:00
2022-11-22 11:54:30 +01:00
2024-05-01 08:39:18 +02:00
2024-05-01 08:39:16 +02:00
2024-05-01 08:39:18 +02:00
2022-10-06 22:54:58 +02:00
2022-09-09 16:07:54 +02:00
2020-08-01 11:58:39 +02:00
2025-07-03 12:25:56 +03:00