Return-Path: X-Original-To: apmail-incubator-celix-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-celix-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C8527981A for ; Mon, 2 Apr 2012 13:51:46 +0000 (UTC) Received: (qmail 82374 invoked by uid 500); 2 Apr 2012 13:51:46 -0000 Delivered-To: apmail-incubator-celix-commits-archive@incubator.apache.org Received: (qmail 82339 invoked by uid 500); 2 Apr 2012 13:51:46 -0000 Mailing-List: contact celix-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: celix-dev@incubator.apache.org Delivered-To: mailing list celix-commits@incubator.apache.org Received: (qmail 82217 invoked by uid 99); 2 Apr 2012 13:51:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 13:51:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 13:51:45 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4633A1C4B30 for ; Mon, 2 Apr 2012 13:51:25 +0000 (UTC) Date: Mon, 2 Apr 2012 13:51:25 +0000 (UTC) From: "Pepijn Noltes (Closed) (JIRA)" To: celix-commits@incubator.apache.org Message-ID: <1770327253.490.1333374685288.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2021937374.33718.1331126458177.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (CELIX-31) Memory bug in serviceTracker_createWithFilter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CELIX-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pepijn Noltes closed CELIX-31. ------------------------------ Resolution: Fixed > Memory bug in serviceTracker_createWithFilter > --------------------------------------------- > > Key: CELIX-31 > URL: https://issues.apache.org/jira/browse/CELIX-31 > Project: Celix > Issue Type: Bug > Reporter: Pepijn Noltes > > The serviceTracker_createWithFilter does not allocate memory for the provide filter string. > Solution change line: > (*tracker)->filter = filter; > in: > (*tracker)->filter = apr_pstrdup(pool,filter); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira