[PATCH:xserver] Avoid segfault in CloseWellKnownConnections when using -displayfd

2016-01-01 Thread Alan Coopersmith
When -displayfd is looping through the possible display ids to use, if it can't open all the listening sockets for one (say when :0 is already in use), it calls CloseWellKnownConnections to close all the ListenTransConns entries before the point that ListenTransFds was allocated & initialized, so C

Re: [PATCH:xserver] Avoid segfault in CloseWellKnownConnections when using -displayfd

2016-01-01 Thread Keith Packard
Alan Coopersmith writes: > When -displayfd is looping through the possible display ids to use, > if it can't open all the listening sockets for one (say when :0 is > already in use), it calls CloseWellKnownConnections to close all > the ListenTransConns entries before the point that ListenTransFd