Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CEE9818807 for ; Thu, 25 Jun 2015 15:26:04 +0000 (UTC) Received: (qmail 8085 invoked by uid 500); 25 Jun 2015 15:26:04 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 8014 invoked by uid 500); 25 Jun 2015 15:26:04 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 8003 invoked by uid 99); 25 Jun 2015 15:26:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2015 15:26:04 +0000 Date: Thu, 25 Jun 2015 15:26:04 +0000 (UTC) From: "Alexandre Cartapanis (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (FELIX-4938) Throw an exception when service use count overflow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexandre Cartapanis reopened FELIX-4938: ----------------------------------------- Waiting for test > Throw an exception when service use count overflow > -------------------------------------------------- > > Key: FELIX-4938 > URL: https://issues.apache.org/jira/browse/FELIX-4938 > Project: Felix > Issue Type: Improvement > Components: Framework > Affects Versions: framework-3.0.0, framework-3.0.1, framework-3.0.2, framework-3.0.3, framework-3.0.4, framework-3.0.5, framework-3.0.6, framework-3.0.7, framework-3.0.8, framework-3.0.9, framework-3.2.0, framework-3.2.1, framework-3.2.2, framework-4.0.0, framework-4.0.1, framework-4.0.2, framework-4.0.3, framework-4.2.0, framework-4.2.1, framework-4.4.0, framework-4.4.1, framework-4.6.0, framework-4.6.1, framework-5.0.0, framework-5.0.1, framework-5.1.0 > Reporter: Alexandre Cartapanis > Priority: Minor > Labels: easyfix > Fix For: framework-5.1.0 > > Original Estimate: 1h > Remaining Estimate: 1h > > In class org.apache.felix.framework.ServiceRegistry, in the getService method, the service use count is incremented but never checked, so it could overflow if service is not ungeted. > This is a known bug in equinox (https://bugs.eclipse.org/bugs/show_bug.cgi?id=350719) -- This message was sent by Atlassian JIRA (v6.3.4#6332)