summaryrefslogtreecommitdiffstats
path: root/blockdev.c
diff options
context:
space:
mode:
authorChangbin Du2020-04-27 15:24:12 +0200
committerGerd Hoffmann2020-05-14 14:26:42 +0200
commit32ec9839d89d2b814ada20b041b25feae23596bc (patch)
tree0a2bc31e363684e3285564581a53a74674c1b164 /blockdev.c
parentui: improve -show-cursor deprecation message (diff)
downloadqemu-32ec9839d89d2b814ada20b041b25feae23596bc.tar.gz
qemu-32ec9839d89d2b814ada20b041b25feae23596bc.tar.xz
qemu-32ec9839d89d2b814ada20b041b25feae23596bc.zip
ui/sdl2: fix segment fault caused by null pointer dereference
I found SDL_GetWindowFromID() sometimes return NULL when I start qemu via ssh forwarding even the window has been crated already. I am not sure whether this is a bug of SDL, but we'd better check it carefully. Signed-off-by: Changbin Du <changbin.du@gmail.com> Message-id: 20200427132412.17909-1-changbin.du@gmail.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions