From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 1ED6911C5 for ; Thu, 7 Apr 2016 19:41:17 +0200 (CEST) Received: by mail-wm0-f53.google.com with SMTP id f198so35198409wme.0 for ; Thu, 07 Apr 2016 10:41:17 -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:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=gkPPd0Fajgi2L0x7CCg9CUFaOP4nHliYxGWZr13dqeQ=; b=udRNqh8e6srwa8G7+QblTfkH2BKLbeEA/Ij8CDOjeDyRzNfiwLJ/7N6aWN8gWwfMxK yRsWcISDwW+dzwTjNmXlnhsd+Qli7N31JW3D66JRubUgWGQ8SQnxS5eAbYRSp6udr2zv oPUeyZkZcBTSoPb9rYIrDwvAKl5bmAJYcLSGg3vYsz+Y1s+nasYonIenvwd+GX4IoZnA TxgLWqpTsP+qOAxZfWUWPywpu9DuM8qbqU2mm1eXEIg8hxkHC3vYMSXvJBWdFOOBg5oM cCpkxEN35/5svm1ZJjvEgji88YKr5IivHsCETzUdpSUtZhN7xiBfQyCzJub2a1yZqPlt BEZw== 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=gkPPd0Fajgi2L0x7CCg9CUFaOP4nHliYxGWZr13dqeQ=; b=CjR9MqzzxqA9+NEER4IvHGYoGJjIvo93CC3mOs0PavhHp2QQifsrlWcVe2zcPXM8GR GLrqMGNeYUuIUrig5GcjQ+IDWmFUEYULTxhUXnN6nb/w2aXh8nCNXHndCAn0cN0M5G2X ePO0QZBXYU5TQSgxgfQmZmft2UdDoP3oO1nO1as5qU3+JZNuEDVB3VIovWWyRE7wT/oU igVNwIbUysTN2HT+U+Z/jp6jBgse91lCQmxvwFcr9R9yIw5LoZF41C3CDJjBivKtTeJR 17dX8OmEMU14/kS+9IaAKGOS1Stl+wGGklItA/Pakcprzs9+9CLxSW1n5Xqkdg0309qV WcUA== X-Gm-Message-State: AD7BkJJTZwO8Kxd4p3Wcd1LSU/lrxMQ5e89vfNiVBuYo5HoNzKPs47Tlbbw909hRZrt73O3M X-Received: by 10.194.138.37 with SMTP id qn5mr4960522wjb.108.1460050876462; Thu, 07 Apr 2016 10:41:16 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id w67sm564159wmd.23.2016.04.07.10.41.15 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Apr 2016 10:41:15 -0700 (PDT) From: Thomas Monjalon To: "Kulasek, TomaszX" Cc: dev@dpdk.org, "De Lara Guarch, Pablo" Date: Thu, 07 Apr 2016 19:41:14 +0200 Message-ID: <4320612.fE9b45Wkz6@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1460034450-9360-1-git-send-email-tomaszx.kulasek@intel.com> <1460037733-8284-1-git-send-email-tomaszx.kulasek@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] app/test: fix array subscript is above array bounds for gcc 4.5 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: Thu, 07 Apr 2016 17:41:17 -0000 > > Using uint8_t as a size of copied block prevents to evaluate in rte_memcpy > > code for length bigger than 255, causing the problem. > > > > v2 changes: > > - added fixline > > > > Fixes: 8bdf665fe6c0 ("app/test: add SNOW 3G") > > > > Signed-off-by: Tomasz Kulasek > > Acked-by: Pablo de Lara Applied, thanks