You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2023/02/13 23:42:00 UTC

[jira] [Closed] (GUACAMOLE-1416) An improper locking bug (e.g., resource leak) due to unreleased lock

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

Mike Jumper closed GUACAMOLE-1416.
----------------------------------
    Resolution: Fixed

> 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
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> 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.20.10#820010)