Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Message-id: [email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
- Loading branch information