lbxproxy process dies when running VSW5 in Xlib3/XCloseDisplay test, assertion 6.
The cause of the problem is that LookupIDByType() try to access non-existing
client(clients[j] = NULL). The checking code needs to be added to make sure that
LookupIDByType() doesn't search non-existing clients.
(This was originally found and fixed by Derek Wang in Solaris Xsun as Sun bug id
4416710. It was also reported as defect #9341 in the old X.org bug db.)
Created attachment 113 [details] [review]
patch to xc/programs/lbxproxy/di/resource.c
Fix committed to XORG-CURRENT branch.