celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Broekhuis (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CELIX-214) Unsafe strtok() usage
Date Fri, 06 Feb 2015 19:45:35 GMT

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

Alexander Broekhuis closed CELIX-214.
-------------------------------------
    Resolution: Duplicate

Closed, since CELIX-216 will solve this one.

> 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