[
https://issues.apache.org/jira/browse/GUACAMOLE-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Jumper updated GUACAMOLE-391:
-------------------------------------
Description:
After {{guacd_conf_load()}} has allocated the necessary memory for the guacd
config file structure, that memory is not properly freed if the {{guacd.conf}}
file ultimately fails to be parsed, resulting in a leak:
!report-189d5a-screenshot.png!
was:
when running 'scan-build make', it identifies bug
bug report: http://chipitsine.github.io/report-189d5a.html
> guacd_conf_load() leaks structure if config file fails to parse
> ---------------------------------------------------------------
>
> Key: GUACAMOLE-391
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-391
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-server
> Affects Versions: 0.9.13-incubating
> Reporter: Ilya Shipitsin
> Priority: Minor
> Fix For: 0.9.14
>
> Attachments: report-189d5a-screenshot.png
>
>
> After {{guacd_conf_load()}} has allocated the necessary memory for the guacd
> config file structure, that memory is not properly freed if the
> {{guacd.conf}} file ultimately fails to be parsed, resulting in a leak:
> !report-189d5a-screenshot.png!
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)