|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 02/12] macfb: fix invalid object reference in macfb_common_realize() |
Date: | Sat, 2 Oct 2021 15:51:55 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 |
On 10/2/21 12:59, Mark Cave-Ayland wrote: > During realize memory_region_init_ram_nomigrate() is used to initialise the > RAM > memory region used for the framebuffer but the owner object reference is > incorrect since MacFbState is a typedef and not a QOM type. > > Change the memory region owner to be the corresponding DeviceState to fix the > issue and prevent random crashes during macfb_common_realize(). > Fixes: 8ac919a0654 ("hw/m68k: add Nubus macfb video card") Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> > --- > hw/display/macfb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
[Prev in Thread] | Current Thread | [Next in Thread] |