[
https://issues.apache.org/jira/browse/GUACAMOLE-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16294030#comment-16294030
]
Michael Jumper commented on GUACAMOLE-383:
------------------------------------------
For future reference, these really should have been separate issues.
> Failures to open guacd.conf, read RDP clipboard data, or load terminal font
> may leak memory
> -------------------------------------------------------------------------------------------
>
> Key: GUACAMOLE-383
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-383
> Project: Guacamole
> Issue Type: Bug
> Reporter: Ilya Shipitsin
> Priority: Minor
> Fix For: 0.9.14
>
>
> The static analysis tool "cppcheck" has reported the following:
> {code:none}
> [src/guacd/conf-file.c:206]: (error) Memory leak: conf
> [src/protocols/rdp/rdp_cliprdr.c:205]: (error) Memory leak: output
> [src/terminal/display.c:283]: (error) Memory leak: display
> [src/terminal/display.c:290]: (error) Memory leak: display
> {code}
> These correspond to the following issues:
> # In the event that {{guacd.conf}} fails to be opened (for any reason other
> than it simply doesn't exist), the memory for the config structure meant to
> house the interpreted contents of {{guacd.conf}} will not be freed.
> # If the RDP server violates protocol and requests a clipboard format which
> the RDP client has not declared as supported, the memory for the buffer meant
> to hold the clipboard contents sent to the RDP server is leaked.
> # If the details of the requested font for an SSH or telnet connection cannot
> be loaded (Pango reports an error while retrieving font metrics), the memory
> for the abstract terminal display is leaked.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)