From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30062.outbound.protection.outlook.com [40.107.3.62]) by dpdk.org (Postfix) with ESMTP id 181B21B6CA; Fri, 22 Mar 2019 16:07:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mGwQ4MDxA30UOc0Zw3IuMxWHZtBQPa0XoKZ6/aZhNRw=; b=x8MyGajITl5BmN0KMXmjcJEllus5b/b87dxlplAaGX/2/Z5wPrsT6W7NeV7fOk7hIi+AsEhenFjM+zHNhHneE1zoypu/zWoFONpc8Kn1tsAdgqOUtrCEJv3WiYZ0Zyz2IXnPrW98AO31Lxn5Hs4GOUk1ORn6XYvNo/DrNUjwXbs= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB5758.eurprd04.prod.outlook.com (20.178.127.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.16; Fri, 22 Mar 2019 15:07:36 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::d81a:c2cb:6bce:30bb]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::d81a:c2cb:6bce:30bb%4]) with mapi id 15.20.1730.017; Fri, 22 Mar 2019 15:07:36 +0000 From: Akhil Goyal To: Chaitanya Babu Talluri , "dev@dpdk.org" CC: "reshma.pattan@intel.com" , "jananeex.m.parthasarathy@intel.com" , "pablo.de.lara.guarch@intel.com" , "declan.doherty@intel.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] app/test: fix possible overflow using strlcat Thread-Index: AQHU3Yd9xJYGV9Lamkq2TYlUbz6b6aYXvKsAgAAKNIA= Date: Fri, 22 Mar 2019 15:07:36 +0000 Message-ID: References: <1552569280-27944-1-git-send-email-tallurix.chaitanya.babu@intel.com> <1552912596-2776-1-git-send-email-tallurix.chaitanya.babu@intel.com> <27471792-68e7-497f-e5ec-38150c22e790@nxp.com> In-Reply-To: <27471792-68e7-497f-e5ec-38150c22e790@nxp.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: PN1PR01CA0080.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::20) To VI1PR04MB4893.eurprd04.prod.outlook.com (2603:10a6:803:56::26) authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d11c5364-c33d-4dbb-cbe6-08d6aed81df3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB5758; x-ms-traffictypediagnostic: VI1PR04MB5758: x-microsoft-antispam-prvs: x-forefront-prvs: 09840A4839 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(396003)(136003)(346002)(366004)(199004)(189003)(14454004)(54906003)(52116002)(316002)(110136005)(99286004)(2906002)(76176011)(6506007)(53546011)(26005)(25786009)(386003)(102836004)(31696002)(4326008)(81156014)(305945005)(6246003)(81166006)(7736002)(53936002)(6512007)(36756003)(68736007)(478600001)(8676002)(8936002)(6486002)(106356001)(229853002)(6436002)(86362001)(14444005)(256004)(2616005)(476003)(97736004)(31686004)(446003)(71190400001)(4744005)(11346002)(66066001)(186003)(3846002)(44832011)(5660300002)(2501003)(486006)(6116002)(105586002)(71200400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5758; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 1CxxEwy1+IdvAZCHkE6wgTuJxk5qk7opghVX1JQCqBz4ILZwZVh7FK6fdVxDwlSqbYvn9y7SnpVmPDnB+3r4yQo+nEj/wQZsfzPstlKqzrEk7ws86WzJGE1d8BLlb0i3skAHxyX5YgZcDDvHOH9wDAiNG2F96y9SFkkTf28DB8zjXSyMQz4CNqv8Qt20CfE9VUSpP80SYcfGyS3zuyac1O4/DCJjPWxfiF2g1cVgChCBMH6ZNcp002DTKZm7CZcL9FwxV7zqXuoeSMDKfIRx8UzrN+Kau06MQ09LTu2VObk38fyKynQS/+QmAATnw2UUVz+Po/d++aJji6kS7E7IVvVk6jpWyfNh10YLVOvp+QDk9wJbW/uau2FowWRAiWmXywp4UZdRan9fjS0mtF7LAIr4FCb1yxFO+p9HW4SDuQ8= Content-Type: text/plain; charset="utf-8" Content-ID: <64646E7B5F0F144886E654A835E53F8D@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d11c5364-c33d-4dbb-cbe6-08d6aed81df3 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Mar 2019 15:07:36.0671 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5758 Subject: Re: [dpdk-dev] [PATCH v2] app/test: fix possible overflow using strlcat 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, 22 Mar 2019 15:07:37 -0000 DQoNCk9uIDMvMjIvMjAxOSA4OjAxIFBNLCBBa2hpbCBHb3lhbCB3cm90ZToNCj4NCj4gT24gMy8x OC8yMDE5IDY6MDYgUE0sIENoYWl0YW55YSBCYWJ1IFRhbGx1cmkgd3JvdGU6DQo+PiBzdHJjYXQg ZG9lcyBub3QgY2hlY2sgdGhlIGRlc3RpbmF0aW9uIGxlbmd0aCBhbmQgdGhlcmUgbWlnaHQgYmUN Cj4+IGNoYW5jZXMgb2Ygc3RyaW5nIG92ZXJmbG93IHNvIGluc3RlYWQgb2Ygc3RyY2F0LCBzdHJs Y2F0IGlzIHVzZWQuDQo+Pg0KPj4gRml4ZXM6IDZmNGVlYzI1NjUgKCJ0ZXN0L2NyeXB0bzogZW5o YW5jZSBzY2hlZHVsZXIgdW5pdCB0ZXN0cyIpDQo+PiBDYzogc3RhYmxlQGRwZGsub3JnDQo+Pg0K Pj4gU2lnbmVkLW9mZi1ieTogQ2hhaXRhbnlhIEJhYnUgVGFsbHVyaSA8dGFsbHVyaXguY2hhaXRh bnlhLmJhYnVAaW50ZWwuY29tPg0KPj4gLS0tDQo+PiB2MjogVXBkYXRlZCB0aXRsZS4NCj4+IC0t LQ0KPj4gICAgYXBwL3Rlc3QvdGVzdF9jcnlwdG9kZXYuYyB8IDMgKystDQo+PiAgICAxIGZpbGUg Y2hhbmdlZCwgMiBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9uKC0pDQo+Pg0KPj4NCj4gQWNrZWQt Ynk6IEFraGlsIEdveWFsIDxha2hpbC5nb3lhbEBueHAuY29tPg0KQXBwbGllZCB0byBkcGRrLW5l eHQtY3J5cHRvDQoNClRoYW5rcy4NCg== From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 00296A00E6 for ; Fri, 22 Mar 2019 16:07:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B96911B6DB; Fri, 22 Mar 2019 16:07:38 +0100 (CET) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30062.outbound.protection.outlook.com [40.107.3.62]) by dpdk.org (Postfix) with ESMTP id 181B21B6CA; Fri, 22 Mar 2019 16:07:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mGwQ4MDxA30UOc0Zw3IuMxWHZtBQPa0XoKZ6/aZhNRw=; b=x8MyGajITl5BmN0KMXmjcJEllus5b/b87dxlplAaGX/2/Z5wPrsT6W7NeV7fOk7hIi+AsEhenFjM+zHNhHneE1zoypu/zWoFONpc8Kn1tsAdgqOUtrCEJv3WiYZ0Zyz2IXnPrW98AO31Lxn5Hs4GOUk1ORn6XYvNo/DrNUjwXbs= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB5758.eurprd04.prod.outlook.com (20.178.127.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.16; Fri, 22 Mar 2019 15:07:36 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::d81a:c2cb:6bce:30bb]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::d81a:c2cb:6bce:30bb%4]) with mapi id 15.20.1730.017; Fri, 22 Mar 2019 15:07:36 +0000 From: Akhil Goyal To: Chaitanya Babu Talluri , "dev@dpdk.org" CC: "reshma.pattan@intel.com" , "jananeex.m.parthasarathy@intel.com" , "pablo.de.lara.guarch@intel.com" , "declan.doherty@intel.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] app/test: fix possible overflow using strlcat Thread-Index: AQHU3Yd9xJYGV9Lamkq2TYlUbz6b6aYXvKsAgAAKNIA= Date: Fri, 22 Mar 2019 15:07:36 +0000 Message-ID: References: <1552569280-27944-1-git-send-email-tallurix.chaitanya.babu@intel.com> <1552912596-2776-1-git-send-email-tallurix.chaitanya.babu@intel.com> <27471792-68e7-497f-e5ec-38150c22e790@nxp.com> In-Reply-To: <27471792-68e7-497f-e5ec-38150c22e790@nxp.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: PN1PR01CA0080.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::20) To VI1PR04MB4893.eurprd04.prod.outlook.com (2603:10a6:803:56::26) authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d11c5364-c33d-4dbb-cbe6-08d6aed81df3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB5758; x-ms-traffictypediagnostic: VI1PR04MB5758: x-microsoft-antispam-prvs: x-forefront-prvs: 09840A4839 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(396003)(136003)(346002)(366004)(199004)(189003)(14454004)(54906003)(52116002)(316002)(110136005)(99286004)(2906002)(76176011)(6506007)(53546011)(26005)(25786009)(386003)(102836004)(31696002)(4326008)(81156014)(305945005)(6246003)(81166006)(7736002)(53936002)(6512007)(36756003)(68736007)(478600001)(8676002)(8936002)(6486002)(106356001)(229853002)(6436002)(86362001)(14444005)(256004)(2616005)(476003)(97736004)(31686004)(446003)(71190400001)(4744005)(11346002)(66066001)(186003)(3846002)(44832011)(5660300002)(2501003)(486006)(6116002)(105586002)(71200400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5758; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 1CxxEwy1+IdvAZCHkE6wgTuJxk5qk7opghVX1JQCqBz4ILZwZVh7FK6fdVxDwlSqbYvn9y7SnpVmPDnB+3r4yQo+nEj/wQZsfzPstlKqzrEk7ws86WzJGE1d8BLlb0i3skAHxyX5YgZcDDvHOH9wDAiNG2F96y9SFkkTf28DB8zjXSyMQz4CNqv8Qt20CfE9VUSpP80SYcfGyS3zuyac1O4/DCJjPWxfiF2g1cVgChCBMH6ZNcp002DTKZm7CZcL9FwxV7zqXuoeSMDKfIRx8UzrN+Kau06MQ09LTu2VObk38fyKynQS/+QmAATnw2UUVz+Po/d++aJji6kS7E7IVvVk6jpWyfNh10YLVOvp+QDk9wJbW/uau2FowWRAiWmXywp4UZdRan9fjS0mtF7LAIr4FCb1yxFO+p9HW4SDuQ8= Content-Type: text/plain; charset="UTF-8" Content-ID: <64646E7B5F0F144886E654A835E53F8D@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d11c5364-c33d-4dbb-cbe6-08d6aed81df3 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Mar 2019 15:07:36.0671 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5758 Subject: Re: [dpdk-dev] [PATCH v2] app/test: fix possible overflow using strlcat 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190322150736.dcPqG4P0FlCzIaTZvpP0T_77p8rqcvKAWI_2OLrYJJo@z> DQoNCk9uIDMvMjIvMjAxOSA4OjAxIFBNLCBBa2hpbCBHb3lhbCB3cm90ZToNCj4NCj4gT24gMy8x OC8yMDE5IDY6MDYgUE0sIENoYWl0YW55YSBCYWJ1IFRhbGx1cmkgd3JvdGU6DQo+PiBzdHJjYXQg ZG9lcyBub3QgY2hlY2sgdGhlIGRlc3RpbmF0aW9uIGxlbmd0aCBhbmQgdGhlcmUgbWlnaHQgYmUN Cj4+IGNoYW5jZXMgb2Ygc3RyaW5nIG92ZXJmbG93IHNvIGluc3RlYWQgb2Ygc3RyY2F0LCBzdHJs Y2F0IGlzIHVzZWQuDQo+Pg0KPj4gRml4ZXM6IDZmNGVlYzI1NjUgKCJ0ZXN0L2NyeXB0bzogZW5o YW5jZSBzY2hlZHVsZXIgdW5pdCB0ZXN0cyIpDQo+PiBDYzogc3RhYmxlQGRwZGsub3JnDQo+Pg0K Pj4gU2lnbmVkLW9mZi1ieTogQ2hhaXRhbnlhIEJhYnUgVGFsbHVyaSA8dGFsbHVyaXguY2hhaXRh bnlhLmJhYnVAaW50ZWwuY29tPg0KPj4gLS0tDQo+PiB2MjogVXBkYXRlZCB0aXRsZS4NCj4+IC0t LQ0KPj4gICAgYXBwL3Rlc3QvdGVzdF9jcnlwdG9kZXYuYyB8IDMgKystDQo+PiAgICAxIGZpbGUg Y2hhbmdlZCwgMiBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9uKC0pDQo+Pg0KPj4NCj4gQWNrZWQt Ynk6IEFraGlsIEdveWFsIDxha2hpbC5nb3lhbEBueHAuY29tPg0KQXBwbGllZCB0byBkcGRrLW5l eHQtY3J5cHRvDQoNClRoYW5rcy4NCg==