incubator-celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pepijn Noltes (Created) (JIRA)" <>
Subject [jira] [Created] (CELIX-30) Memory bug in service registration
Date Wed, 07 Mar 2012 13:18:58 GMT
Memory bug in service registration

                 Key: CELIX-30
             Project: Celix
          Issue Type: Bug
            Reporter: Pepijn Noltes

In the module service_registration.c the className value is assigned to the provided char
pointer, but ownership is not claimed.
Solution: change line 77 in service_registration from to:
(*registration)->className = serviceName;
(*registration)->className = apr_pstrdup(pool,serviceName);

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message