qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-266) memory leak allocating user_id fields
Date Fri, 08 Apr 2016 19:34:25 GMT

    [ https://issues.apache.org/jira/browse/DISPATCH-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15232772#comment-15232772
] 

ASF subversion and git services commented on DISPATCH-266:
----------------------------------------------------------

Commit b3d62eb90f4ac90655c294d3ad6d617e4919a8ce in qpid-dispatch's branch refs/heads/master
from [~ganeshmurthy]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=b3d62eb ]

DISPATCH-266 - Added a free_user_id bool to qd_connection_t and set it to true when we malloc
user_id so we can free it later on


> memory leak allocating user_id fields
> -------------------------------------
>
>                 Key: DISPATCH-266
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-266
>             Project: Qpid Dispatch
>          Issue Type: Bug
>    Affects Versions: 0.6
>            Reporter: Chuck Rolke
>            Assignee: Ganesh Murthy
>
> When a connection:user_id name is pulled out of a certificate the name is placed into
malloc'd memory. That memory is never freed.
> The same user_id pointer sometimes points to const memory and can't be blindly freed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message