From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id BE42B5A62 for ; Mon, 16 May 2016 17:35:37 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id g17so15910073wme.0 for ; Mon, 16 May 2016 08:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=jZtkTFQONjWN/X2+KJ0pS49sv2BxgDY7wLfosyhOd3I=; b=nKErT1PE450UWK0FFgA/jr0C9khMQMBxTjZQ+xMI72f0/nEJbSfaKtgxJr9dpgyHFw OAwwj2yMnLvrUHnK8jX9toP7Uye7qKU0qus/cPTmNlSHTtdojOOwW5y8oO0e1qO110vk qPPRHQl9LuJYkIXS7AQFBRrO1Mte+72JKk9vMqwiD7ncpQmI+CGOvbevZ1uN3wfjPr/7 4nVG5YKFDM/+LniDf9x3IyHyfqvy/nbYlyWClcKKTnk4k8WTEWgL089y5ymagQuHLjgB +CRRQ5ZbUzxIkPJ+QEiFWQ93x67645kMMARFH1czAPi6JnCBmTOTOiUvwmYVHjXbcAUo N+DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=jZtkTFQONjWN/X2+KJ0pS49sv2BxgDY7wLfosyhOd3I=; b=YaJKBxHwYuTRhW2mulelqy8sbDIi6JjSSSWIBAhNJ0AwvpRQXHyfbX5/JzZENCN/is Pa6y01d1QoYV17ct78zwma7/JWzSSsA8CEJDiNJ7wd5tygWHjkd5K8d3hEyp+9Z9PFj5 MIHXmszgV6j8Gv+62bhT5OAJYgh4NnbJh78St561HHK0/4SjRgxYuifaT0LKwGacH4t2 VJix926HEhT809G2AjzN1Uv3dCwwE8gwfJu8oMP/pbdw7gg39b4Gmt/IXrwCl/ffwLms RO1VlATo4fPlL1q/6LiLxNG72Ew2D0u0dS03icm+Wf2BcyocJFkGlkx7sjhtTORqsvFo ggKw== X-Gm-Message-State: AOPr4FXHy8+OLl2PPQ6hi87jiT5AHDISSumIJx8+9jSTSW+CAIoAEUQHeAkFCaqlQPqEGouL X-Received: by 10.194.79.70 with SMTP id h6mr34464516wjx.157.1463412937496; Mon, 16 May 2016 08:35:37 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id b22sm19114111wmb.9.2016.05.16.08.35.36 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 May 2016 08:35:36 -0700 (PDT) From: Thomas Monjalon To: "Mrozowicz, SlawomirX" Cc: dev@dpdk.org, "Dumitrescu, Cristian" , "Jastrzebski, MichalX K" , "Zhang, Roy Fan" , "Singh, Jasvinder" Date: Mon, 16 May 2016 17:35:35 +0200 Message-ID: <2662884.7jRJASaf7l@xps13> User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D89126479A6EAC@IRSMSX108.ger.corp.intel.com> References: <1461239256-8104-1-git-send-email-michalx.k.jastrzebski@intel.com> <1461239256-8104-5-git-send-email-michalx.k.jastrzebski@intel.com> <3EB4FA525960D640B5BDFFD6A3D89126479A6EAC@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] examples/qos_sched: fix out-of-bounds read X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 15:35:37 -0000 > > Fix issue reported by Coverity. > > > > Coverity ID 30708: Out-of-bounds read > > overrun-local: Overrunning array tokens of 8 8-byte elements > > at element index 4294967294 (byte offset 34359738352) > > using index i (which evaluates to 4294967294). > > > > Fixes: de3cfa2c9823 ("sched: initial import") > > > > Signed-off-by: Slawomir Mrozowicz > > Acked-by: Cristian Dumitrescu Applied, thanks