On 6/2/25 16:12, Peter Maydell wrote:
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 <[email protected]> --- hw/mips/boston.c | 4 ++++ 1 file changed, 4 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
