From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 1E0161C177; Fri, 11 May 2018 14:26:46 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 May 2018 05:26:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,388,1520924400"; d="scan'208";a="223447624" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by orsmga005.jf.intel.com with ESMTP; 11 May 2018 05:26:45 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.150]) by IRSMSX151.ger.corp.intel.com ([169.254.4.167]) with mapi id 14.03.0319.002; Fri, 11 May 2018 13:26:44 +0100 From: "De Lara Guarch, Pablo" To: Andy Green , "dev@dpdk.org" CC: "Pattan, Reshma" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 16/18] app/proc-info: sprintf overrun bug Thread-Index: AQHT6Moepo+glWbCHUe2mYJ6/ohkS6QqYgdA Date: Fri, 11 May 2018 12:26:43 +0000 Message-ID: References: <152600304856.53146.9681482138854493833.stgit@localhost.localdomain> <152600319626.53146.13225564187658388686.stgit@localhost.localdomain> In-Reply-To: <152600319626.53146.13225564187658388686.stgit@localhost.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjdmNTZlZGUtMTkyNS00NGJjLWFjMDQtOGI1MzgzOGYwYzMwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Ilcwd0ZuNFFWSGhGd0dxSlQ0TnNEZldQNzNXWEVFXC9RU0g1UVVoUFcwb1wvaz0ifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 16/18] app/proc-info: sprintf overrun bug X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2018 12:26:47 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2 LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBBbmR5IEdyZWVuDQo+IFNlbnQ6IEZyaWRh eSwgTWF5IDExLCAyMDE4IDI6NDcgQU0NCj4gVG86IGRldkBkcGRrLm9yZw0KPiBTdWJqZWN0OiBb ZHBkay1kZXZdIFtQQVRDSCB2NCAxNi8xOF0gYXBwL3Byb2MtaW5mbzogc3ByaW50ZiBvdmVycnVu IGJ1Zw0KPiANCj4gL2hvbWUvYWdyZWVuL3Byb2plY3RzL2RwZGsvYXBwL3Byb2MtaW5mby9tYWlu LmM6IEluIGZ1bmN0aW9uDQo+IOKAmG5pY194c3RhdHNfZGlzcGxheeKAmToNCj4gL2hvbWUvYWdy ZWVuL3Byb2plY3RzL2RwZGsvYXBwL3Byb2MtaW5mby9tYWluLmM6NDk1OjQ1Og0KPiBlcnJvcjog 4oCYJXPigJkgZGlyZWN0aXZlIHdyaXRpbmcgdXAgdG8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