Ryan Cai created GUACAMOLE-1416:
-----------------------------------

             Summary: An improper locking bug(e.g., resource leak) due to 
unreleased lock
                 Key: GUACAMOLE-1416
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1416
             Project: Guacamole
          Issue Type: Bug
          Components: guacamole, guacamole-server
    Affects Versions: 1.3.0
            Reporter: Ryan Cai


In the below codes, the lock 
+pthread_mutex_lock(&(ssh_client->term_channel_lock))+ , the resource, can not 
be correctly released if +libssh2_keepalive_send(ssh_client->session->session, 
&timeout) >+ +0+.

 
Locations:
https://github.com/apache/guacamole-server/blob/b2ae2fdf003a6854ac42877ce0fce8e88ceb038a/src/protocols/ssh/ssh.c#L424-L453



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to