You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Daniel Parker (JIRA)" <ji...@apache.org> on 2015/01/07 22:53:35 UTC
[jira] [Closed] (CELIX-197) insufficient memory allocated
[ https://issues.apache.org/jira/browse/CELIX-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Parker closed CELIX-197.
-------------------------------
This works.
> insufficient memory allocated
> -----------------------------
>
> Key: CELIX-197
> URL: https://issues.apache.org/jira/browse/CELIX-197
> Project: Celix
> Issue Type: Bug
> Reporter: Daniel Parker
> Assignee: Alexander Broekhuis
> Priority: Minor
> Fix For: next-incubating
>
>
> The function framework/private/src/filter.c::filter_parseValue() uses strdup("") to allocate memory rather than malloc(strlen(fileterString)) or something.
> Note that I haven't ever seen this actually cause problems, but the code is incorrect, so I thought I'd mention it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)