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 2020/09/18 02:51:00 UTC

[jira] [Created] (GUACAMOLE-1181) Memory allocated for outbound SVC PDUs may not be freed

Mike Jumper created GUACAMOLE-1181:
--------------------------------------

             Summary: Memory allocated for outbound SVC PDUs may not be freed
                 Key: GUACAMOLE-1181
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1181
             Project: Guacamole
          Issue Type: Bug
          Components: RDP
    Affects Versions: 1.2.0, 1.1.0
            Reporter: Mike Jumper
             Fix For: 1.3.0


As reported on the mailing list, depending on the version of FreeRDP installed, the {{wStream}} allocated for transmission along a static virtual channel may not be freed:

https://lists.apache.org/thread.html/r39f830253413b2143438d09533c59e193e78729ef036bf1a1356f33b%40%3Cuser.guacamole.apache.org%3E

Possible solutions include:

* Explicitly freeing the {{wStream}} (if the version of FreeRDP present at build time will not do so)
* Leveraging the {{wStream}} pool that _will_ be automatically freed (if the version of FreeRDP present at build time supports this)

Unfortunately, even after this is addressed, it may always be the case that a build of guacamole-server against FreeRDP 2.0.0 will suddenly start leaking memory if FreeRDP is updated and guacamole-server is not rebuilt, as the difference in behavior will only be detectable at build time.



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