Adriana Nicolae
93d000bc52
test: dm: fdtdec: Validate FDT size in unit test
...
The current FDT decoding tests calculate the memory required
for FDT manipulation by directly adding a fixed margin to
fdt_totalsize(gd->fdt_blob). The static analyzer flagged
"gd->fdt_blob->totalsize" as a tainted value being passed
to fdt_open_into().
Ensure the size is validated by checking that the total size
is within a reasonable maximum FDT limit for unit tests.
Signed-off-by: Adriana Nicolae <adriana@arista.com >
2025-12-10 09:28:40 -06:00
..
2024-09-12 17:35:37 +02:00
2025-11-06 08:30:33 -06:00
2022-01-19 18:11:34 +01:00
2025-04-03 11:38:14 -06:00
2024-08-26 18:51:48 -06:00
2025-07-11 10:43:29 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2025-07-23 17:37:14 -06:00
2025-05-14 13:34:36 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2025-05-14 13:34:36 -06:00
2024-08-26 18:51:48 -06:00
2025-06-11 09:42:55 +02:00
2024-08-26 18:51:49 -06:00
2025-07-24 11:49:18 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2025-05-29 08:30:25 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2025-04-23 10:02:49 +02:00
2024-08-26 18:51:49 -06:00
2025-05-14 13:34:36 -06:00
2025-12-10 09:28:40 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2022-10-31 14:47:33 -04:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2025-08-06 08:40:44 +02:00
2024-08-26 18:51:48 -06:00
2024-10-27 17:24:13 -06:00
2024-05-06 15:05:04 -06:00
2025-02-11 20:10:59 -06:00
2025-10-08 16:12:36 -06:00
2024-08-26 18:51:48 -06:00
2025-08-31 09:32:17 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2025-02-11 20:10:58 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-05-06 15:05:04 -06:00
2024-08-26 18:51:48 -06:00
2025-03-08 16:35:46 +02:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2024-09-30 19:19:07 -06:00
2025-05-14 13:34:36 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2024-09-09 17:18:04 +02:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2025-04-28 10:41:19 -03:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-09-30 19:19:07 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2024-11-17 13:12:54 -06:00
2025-01-14 14:29:29 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2025-01-24 14:34:39 -06:00
2025-04-10 22:32:55 -03:00
2025-01-24 14:34:39 -06:00
2024-08-26 18:51:48 -06:00
2025-06-10 19:35:26 +03:00
2024-08-26 18:51:48 -06:00
2025-03-08 16:35:46 +02:00
2025-05-02 13:40:25 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2024-08-26 18:51:48 -06:00
2024-10-23 06:52:38 +02:00