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] [Closed] (CELIX-197) insufficient memory allocated
Date Wed, 07 Jan 2015 21:53:35 GMT

     [ 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)

Mime
View raw message