[PATCH] xwininfo: do not segfault on IO error
Peter Hutterer
peter.hutterer at who-t.net
Tue Jan 6 13:55:00 PST 2015
On Tue, Jan 06, 2015 at 02:03:12PM -0500, Adam Jackson wrote:
> On Tue, 2015-01-06 at 11:57 +0100, Olivier Fourdan wrote:
> > If the connection to the X server is lost while waiting for
> > the user to select a window interactively, xwininfo segfaults.
> >
> > This is a regression introduced with the port to XCB, because
> > xcb_wait_for_event() can return NULL in case of an IO error and
> > xwininfo does not check for the actual returned value.
>
> Reviewed-by: Adam Jackson <ajax at redhat.com>
017b373..0c49f8f master -> master
thanks
More information about the xorg-devel
mailing list