Re: [PATCH v2] ui/sdl2: fix segment fault caused by null pointer dereference

2020-05-14 Thread Gerd Hoffmann
On Fri, May 08, 2020 at 09:44:24PM +0800, Changbin Du wrote: > hello, is this ready to merge now? > > On Mon, Apr 27, 2020 at 09:24:12PM +0800, Changbin Du wrote: > > I found SDL_GetWindowFromID() sometimes return NULL when I start qemu via > > ssh forwarding even the window has been crated alread

Re: [PATCH v2] ui/sdl2: fix segment fault caused by null pointer dereference

2020-05-08 Thread Changbin Du
hello, is this ready to merge now? On Mon, Apr 27, 2020 at 09:24:12PM +0800, Changbin Du wrote: > 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

[PATCH v2] ui/sdl2: fix segment fault caused by null pointer dereference

2020-04-27 Thread Changbin Du
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 --- v2: fix typo. --- ui/sdl2.c | 12 1 file