Hi Tim,

Thanks for this information. :)

Cheers,

Wez @ RealVNC Ltd.
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Tim Waugh
> Sent: 08 December 2005 09:42
> To: [email protected]
> Subject: [patch] 4.1.1: x0vncserver fix
> 
> The main loop in x0vncserver does not always initialize the timeout
> variable.  In this case, it may be that it contains invalid values and
> causes select to fail.  This has been reported to happen here:
> 
>   https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=172410
> 
> Here is the fix:
> 
> --- vnc-4_1_1-unixsrc/unix/x0vncserver/x0vncserver.cxx.select 
> 2005-12-05 10:02:30.000000000 +0000
> +++ vnc-4_1_1-unixsrc/unix/x0vncserver/x0vncserver.cxx        
> 2005-12-05 10:02:32.000000000 +0000
> @@ -302,6 +302,7 @@
>        fd_set rfds;
>        std::list<Socket*> sockets;
>        std::list<Socket*>::iterator i;
> +      tv.tv_usec = tv.tv_sec = 0;
>  
>        // Process any incoming X events
>        TXWindow::handleXEvents(dpy);
> 
> Tim.
> */
> _______________________________________________
> VNC-List mailing list
> [email protected]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to