celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Parker (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CELIX-214) Unsafe strtok() usage
Date Thu, 05 Feb 2015 22:31:36 GMT
Daniel Parker created CELIX-214:
-----------------------------------

             Summary: Unsafe strtok() usage
                 Key: CELIX-214
                 URL: https://issues.apache.org/jira/browse/CELIX-214
             Project: Celix
          Issue Type: Bug
            Reporter: Daniel Parker


start_command.c::startCommand_execute() cannot use strtok() safely because strtok() is used
by some of the functions that end up being invoked by it on down the line.

Valgrind stack trace of the error:
==28542==    by 0x1F0EDD53: endpointDiscoveryPoller_create (endpoint_discovery_poller.c:99)
==28542==    by 0x1F0EBF4B: discovery_start (discovery_impl.c:81)
==28542==    by 0x1F0EC2D3: bundleActivator_start (discovery_activator.c:141)
==28542==    by 0x4857A5B: fw_startBundle (framework.c:700)
==28542==    by 0x484E783: bundle_startWithOptions (bundle.c:311)
==28542==    by 0x56FD45F: startCommand_execute (start_command.c:67)




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

Mime
View raw message