You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2017/05/31 04:24:04 UTC

[jira] [Updated] (GUACAMOLE-306) VNC may segfault during the connection process

     [ https://issues.apache.org/jira/browse/GUACAMOLE-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Jumper updated GUACAMOLE-306:
-------------------------------------
    Description: 
Guacamole's VNC implementation assumes that the {{rfbClient}} object will be available at the time that keyboard or mouse events occur, but this is not guaranteed. That object will only be available once the VNC connection process has completed.

Thus, if keys are pressed (or the clipboard contents are sent) while the connection is not yet ready, the event handler tries to send an event to {{NULL}}, a segfault occurs, and the Guacamole connection closes.

  was:
Guacamole's VNC implementation assumes that the {{rfbClient}} object will be available at the time that keyboard or mouse events occur, but this is not guaranteed. That object will only be available once the VNC connection process has completed.

Thus, if keys are pressed while the connection is not yet ready, the event handler tries to send a key event to {{NULL}}, a segfault occurs, and the Guacamole connection closes.


> VNC may segfault during the connection process
> ----------------------------------------------
>
>                 Key: GUACAMOLE-306
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-306
>             Project: Guacamole
>          Issue Type: Bug
>          Components: VNC
>            Reporter: Michael Jumper
>            Assignee: Michael Jumper
>            Priority: Critical
>             Fix For: 0.9.13-incubating
>
>
> Guacamole's VNC implementation assumes that the {{rfbClient}} object will be available at the time that keyboard or mouse events occur, but this is not guaranteed. That object will only be available once the VNC connection process has completed.
> Thus, if keys are pressed (or the clipboard contents are sent) while the connection is not yet ready, the event handler tries to send an event to {{NULL}}, a segfault occurs, and the Guacamole connection closes.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)