Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-1416

An improper locking bug (e.g., resource leak) due to unreleased lock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.0
    • 1.5.0
    • guacamole, guacamole-server
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            RyanCai Ryan Cai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: