Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2195D200B3E for ; Wed, 7 Sep 2016 15:13:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2047B160AC1; Wed, 7 Sep 2016 13:13:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5E929160AA3 for ; Wed, 7 Sep 2016 15:13:10 +0200 (CEST) Received: (qmail 62099 invoked by uid 500); 7 Sep 2016 13:13:04 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 62084 invoked by uid 99); 7 Sep 2016 13:13:04 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2016 13:13:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1D889DFF58; Wed, 7 Sep 2016 13:13:04 +0000 (UTC) From: clebertsuconic To: dev@activemq.apache.org Reply-To: dev@activemq.apache.org References: In-Reply-To: Subject: [GitHub] activemq-artemis pull request #755: ARTEMIS-713 Possible integer overflow in... Content-Type: text/plain Message-Id: <20160907131304.1D889DFF58@git1-us-west.apache.org> Date: Wed, 7 Sep 2016 13:13:04 +0000 (UTC) archived-at: Wed, 07 Sep 2016 13:13:11 -0000 Github user clebertsuconic commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/755#discussion_r77818414 --- Diff: artemis-rest/src/main/java/org/apache/activemq/artemis/rest/topic/SubscriptionsResource.java --- @@ -376,7 +376,7 @@ private QueueConsumer recreateTopicConsumer(String subscriptionId, boolean autoA if (subscriptionExists(subscriptionId)) { QueueConsumer tmp = null; try { - tmp = createConsumer(true, autoAck, subscriptionId, null, consumerTimeoutSeconds * 1000, false); --- End diff -- it doesn't hurt though 👍 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---