celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pepijn Noltes (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CELIX-31) Memory bug in serviceTracker_createWithFilter
Date Mon, 02 Apr 2012 13:51:25 GMT

     [ https://issues.apache.org/jira/browse/CELIX-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pepijn Noltes closed CELIX-31.
------------------------------

    Resolution: Fixed
    
> Memory bug in serviceTracker_createWithFilter
> ---------------------------------------------
>
>                 Key: CELIX-31
>                 URL: https://issues.apache.org/jira/browse/CELIX-31
>             Project: Celix
>          Issue Type: Bug
>            Reporter: Pepijn Noltes
>
> The serviceTracker_createWithFilter does not allocate memory for the provide filter string.
> Solution change line:
> (*tracker)->filter = filter;
> in:
> (*tracker)->filter = apr_pstrdup(pool,filter);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message