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

        

Reply via email to