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 38965A05D3 for ; Wed, 27 Mar 2019 13:52:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DCB101B13F; Wed, 27 Mar 2019 13:52:06 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80049.outbound.protection.outlook.com [40.107.8.49]) by dpdk.org (Postfix) with ESMTP id C04FC1B136 for ; Wed, 27 Mar 2019 13:52:05 +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=nNsdZsUZEt0LPh9oiLe6hE3KBTEyte80Df+ta7XD85I=; b=n0eA6yv4/1/qGKV3osIbmwx87NbPvaFfkEoitsWLCgBLzN29291GWHLi79zi0hCrC/er4FJIKzMf+LwjnyyGe5gNiXFKJBtxJqTOCASsmujlzYMmDuVW5MBth9AeqbiXqSBzvB8ECZGa4j4cqDN4PhUx5q8aPbcAfmWB3BPhq0U= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB6128.eurprd04.prod.outlook.com (20.179.26.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.15; Wed, 27 Mar 2019 12:52:04 +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.1750.014; Wed, 27 Mar 2019 12:52:04 +0000 From: Akhil Goyal To: Konstantin Ananyev , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 1/3] examples/ipsec-secgw: fix invalid out-of-bound check Thread-Index: AQHU5IAqCU6cH7VC8Ue41fLZYmUJF6YfbrkA Date: Wed, 27 Mar 2019 12:52:04 +0000 Message-ID: <2bbd0085-ee17-b3e9-44b7-29b0b9347cbc@nxp.com> References: <20190327093329.12521-1-konstantin.ananyev@intel.com> <20190327093329.12521-2-konstantin.ananyev@intel.com> In-Reply-To: <20190327093329.12521-2-konstantin.ananyev@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BMXPR01CA0007.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:d::17) 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: 5243d41c-5127-4c7d-e051-08d6b2b30305 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB6128; x-ms-traffictypediagnostic: VI1PR04MB6128: x-microsoft-antispam-prvs: x-forefront-prvs: 0989A7979C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(376002)(366004)(136003)(396003)(199004)(189003)(478600001)(86362001)(6116002)(110136005)(316002)(68736007)(8936002)(25786009)(2501003)(3846002)(2906002)(14454004)(31696002)(6246003)(6512007)(11346002)(53936002)(229853002)(2616005)(256004)(105586002)(476003)(102836004)(305945005)(99286004)(6486002)(14444005)(446003)(7736002)(52116002)(44832011)(53546011)(486006)(386003)(71200400001)(6506007)(6436002)(4744005)(8676002)(76176011)(31686004)(81166006)(36756003)(81156014)(66066001)(5660300002)(71190400001)(106356001)(97736004)(26005)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB6128; 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: qqA1q5QSJOPo1a1tzUUgEgvufQVxUJ4pFaeAQKrcF9Av6VDip3CbG5s0Wob7t/U047JtVhlFKMXnMd34vS4Ddy8vY9MerbU84mJhKlFSE37XZD3iKioN1Tto2yex3nJzuvz9LbCmvgQrcknq5HnmsJ6i2cy64xXSBllGQ9B0dtEXE3lE0BC6bsTwtUmoQJpphLdTjogVVuyb4ah3TKK1c+sYnxvvByi8vZBTWdUxhjKZpRpMw9072P9yQbHPNm4bs8nepW3BFvW6kvxU0KDUiTTyRsc+LRiuMAprb8IjC+QIjqDgukmtSNCGh3H/RaXom8NJOKXHb3p+U6nVOOrEQQ5+n66qX5/ZvJW/GF7MyHUFpSGSSQNkqccKnWxVSXoOefZohikzBIhmTfCIZ+CRXWqjrUSPCFMYvx54U1jP1WI= Content-Type: text/plain; charset="UTF-8" Content-ID: <6BFE58B2338B5E4FBEFBBAD2EEC6CBA4@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5243d41c-5127-4c7d-e051-08d6b2b30305 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Mar 2019 12:52:04.2933 (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: VI1PR04MB6128 Subject: Re: [dpdk-dev] [PATCH 1/3] examples/ipsec-secgw: fix invalid out-of-bound check 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: <20190327125204.UADU-VX24bClFMF0KXUavezrJv0SHk7CgBLKiTLgoGM@z> DQoNCk9uIDMvMjcvMjAxOSAzOjAzIFBNLCBLb25zdGFudGluIEFuYW55ZXYgd3JvdGU6DQo+IEZp eGVzOiA3NjIyMjkxYjY0MWQgKCJleGFtcGxlcy9pcHNlYy1zZWNndzogYWxsb3cgdG8gc3BlY2lm eSBuZWlnaGJvdXIgTUFDIGFkZHJlc3MiKQ0KPiBDb3Zlcml0eSBpc3N1ZTogMzM2NzkxDQo+DQo+ IFNpZ25lZC1vZmYtYnk6IEtvbnN0YW50aW4gQW5hbnlldiA8a29uc3RhbnRpbi5hbmFueWV2QGlu dGVsLmNvbT4NCj4gLS0tDQo+ICAgZXhhbXBsZXMvaXBzZWMtc2VjZ3cvaXBzZWMtc2VjZ3cuYyB8 IDIgKy0NCj4gICAxIGZpbGUgY2hhbmdlZCwgMSBpbnNlcnRpb24oKyksIDEgZGVsZXRpb24oLSkN Cj4NCj4gZGlmZiAtLWdpdCBhL2V4YW1wbGVzL2lwc2VjLXNlY2d3L2lwc2VjLXNlY2d3LmMgYi9l eGFtcGxlcy9pcHNlYy1zZWNndy9pcHNlYy1zZWNndy5jDQo+IGluZGV4IGIyNTNlZWEyYi4uZmZi ZDAwYjA4IDEwMDY0NA0KPiAtLS0gYS9leGFtcGxlcy9pcHNlYy1zZWNndy9pcHNlYy1zZWNndy5j DQo+ICsrKyBiL2V4YW1wbGVzL2lwc2VjLXNlY2d3L2lwc2VjLXNlY2d3LmMNCj4gQEAgLTE0Mzks NyArMTQzOSw3IEBAIHByaW50X2V0aGFkZHIoY29uc3QgY2hhciAqbmFtZSwgY29uc3Qgc3RydWN0 IGV0aGVyX2FkZHIgKmV0aF9hZGRyKQ0KPiAgIGludA0KPiAgIGFkZF9kc3RfZXRoYWRkcih1aW50 MTZfdCBwb3J0LCBjb25zdCBzdHJ1Y3QgZXRoZXJfYWRkciAqYWRkcikNCj4gICB7DQo+IC0JaWYg KHBvcnQgPiBSVEVfRElNKGV0aGFkZHJfdGJsKSkNCj4gKwlpZiAocG9ydCA+PSBSVEVfRElNKGV0 aGFkZHJfdGJsKSkNCj4gICAJCXJldHVybiAtRUlOVkFMOw0KPiAgIA0KPiAgIAlldGhhZGRyX3Ri bFtwb3J0XS5kc3QgPSBFVEhBRERSX1RPX1VJTlQ2NChhZGRyKTsNCkFja2VkLWJ5OiBBa2hpbCBH b3lhbCA8YWtoaWwuZ295YWxAbnhwLmNvbT4NCg==