celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pepijn Noltes (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CELIX-31) Memory bug in serviceTracker_createWithFilter
Date Wed, 07 Mar 2012 13:20:58 GMT
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;
(*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


View raw message