mirror of https://github.com/FFmpeg/FFmpeg.git
Fixes #7312, segmentation fault on close of X11 server xcb_query_pointer_reply() and xcb_get_geometry_reply() can return NULL if e.g. the X server closes or the connection is lost. This needs to be checked in order to cleanly exit, because the returned pointers are dereferenced later. Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Reviewed-by: Andriy Gelman <andriy.gelman@gmail.com>pull/346/head
parent
161d7f3fee
commit
2250dc4044
1 changed files with 9 additions and 0 deletions
Loading…
Reference in new issue