mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-19 19:02:16 -07:00
The function boston_fdt_filter() can return NULL on errors (in which case it will print an error message). When we call this from the non-FIT-image codepath, we aren't checking the return value, so we will plough on with a NULL pointer, and segfault in fdt_totalsize(). Check for errors here. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20250206151214.2947842-4-peter.maydell@linaro.org |
||
|---|---|---|
| .. | ||
| bootloader.c | ||
| boston.c | ||
| cps.c | ||
| fuloong2e.c | ||
| fw_cfg.c | ||
| fw_cfg.h | ||
| jazz.c | ||
| Kconfig | ||
| loongson3_bootp.c | ||
| loongson3_bootp.h | ||
| loongson3_virt.c | ||
| malta.c | ||
| meson.build | ||
| mips_int.c | ||
| mipssim.c | ||
| trace-events | ||
| trace.h | ||