From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50073.outbound.protection.outlook.com [40.107.5.73]) by dpdk.org (Postfix) with ESMTP id AD5B75323 for ; Wed, 27 Mar 2019 15:37:14 +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=zy8TiZIfrWzxbT2GAe3bq0mK0khUbL/wXZslw6HFWjo=; b=r5RoFXQR9QVMxhaLRqrWnj2Ms61FhmE5Hn+KV3PG7DvyfLiEH0xJt0wCrd+XZ9Ue7WVNgIYGNaoERNSoeK5k0amlJv+IaFG+7xIwojnfKFlM44052q8/QV0BrIylUNPjB7fh6WaQJjTtjxvSg4hNX/xsMXVYJSQQY9+fTEeYx2Y= 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 14:37:12 +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 14:37:12 +0000 From: Akhil Goyal To: "Ananyev, Konstantin" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 2/3] examples/ipsec_secgw: fix possible NULL dereference Thread-Index: AQHU5IApOCoyaVT8TE2simt83Zdp2aYfb4sAgAAHAQCAABWOgA== Date: Wed, 27 Mar 2019 14:37:12 +0000 Message-ID: <3af6131e-e614-e9d5-46e3-89cc5ac30e90@nxp.com> References: <20190327093329.12521-1-konstantin.ananyev@intel.com> <20190327093329.12521-3-konstantin.ananyev@intel.com> <2601191342CEEE43887BDE71AB9772580136560AC0@irsmsx105.ger.corp.intel.com> In-Reply-To: <2601191342CEEE43887BDE71AB9772580136560AC0@irsmsx105.ger.corp.intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR01CA0138.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:40::32) 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: c1d1c0c3-835a-4b74-0239-08d6b2c1b2f4 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)(396003)(136003)(366004)(189003)(199004)(386003)(53546011)(71200400001)(486006)(6436002)(6506007)(446003)(7736002)(52116002)(44832011)(71190400001)(5660300002)(186003)(26005)(97736004)(106356001)(8676002)(76176011)(81166006)(31686004)(81156014)(66066001)(36756003)(3846002)(2501003)(2906002)(6116002)(316002)(110136005)(478600001)(86362001)(8936002)(68736007)(25786009)(93886005)(53936002)(229853002)(11346002)(6512007)(6246003)(99286004)(6486002)(305945005)(102836004)(476003)(14444005)(2616005)(256004)(105586002)(14454004)(31696002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB6128; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: 85zbx/QcDAe2fVj7V6TXXUCM8SOgd9FK15WmWNwKbzxynQnnA10BG4t5xx9arT3Y16pfIf6w77H0TKSm+0XCtPrARP1U3i6U8UizbO68dK1S2fXykw4JfojWQN95kd3fYJLJjOaubmXCldWRjisxRgjhLrI8pBu0spspgYirdZ7udElh0BW6VPiE9ugWY4zOggykBZJP6iLc467hB7yStGsFz+M01zY+Sf7DF+Lj210MY54IMdnwmksZHBvfoZA04f39Wvd0cesSncCQxXxCjnbxVfLphP4+yhPFl1kuKJxSvl5vSuw4tcKt4vLvtnrSMOpa4q4AwmMAHk3m6sdqKW5o2xKqLMCNdxg0JnNHVmxrR+hkgCwyfy7nOCkWV20DAIZhUQRslSrYHEpG2nYMaxjOXblVdfWyzMzxasJ8ckE= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c1d1c0c3-835a-4b74-0239-08d6b2c1b2f4 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Mar 2019 14:37:12.3284 (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 2/3] examples/ipsec_secgw: fix possible NULL dereference 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: Wed, 27 Mar 2019 14:37:14 -0000 DQoNCk9uIDMvMjcvMjAxOSA2OjQ5IFBNLCBBbmFueWV2LCBLb25zdGFudGluIHdyb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gPT0NCj4+PiAgICAJCQkJUlRFX1NFQ1VSSVRZX0FDVElPTl9UWVBFX0lOTElORV9QUk9U T0NPTCkgew0KPj4+DQo+Pj4gKwkJCXNhdHAgPSBydGVfaXBzZWNfc2FfdHlwZShpcHMtPnNhKTsN Cj4+PiArDQo+Pj4gICAgCQkJLyoNCj4+PiAgICAJCQkgKiBUaGlzIGlzIGp1c3QgdG8gc2F0aXNm eSBpbmJvdW5kX3NhX2NoZWNrKCkNCj4+PiAgICAJCQkgKiBhbmQgZ2V0X2hvcF9mb3Jfb2ZmbG9h ZF9wa3QoKS4NCg0K 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 E8302A05D3 for ; Wed, 27 Mar 2019 15:37:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1C4095B38; Wed, 27 Mar 2019 15:37:16 +0100 (CET) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50073.outbound.protection.outlook.com [40.107.5.73]) by dpdk.org (Postfix) with ESMTP id AD5B75323 for ; Wed, 27 Mar 2019 15:37:14 +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=zy8TiZIfrWzxbT2GAe3bq0mK0khUbL/wXZslw6HFWjo=; b=r5RoFXQR9QVMxhaLRqrWnj2Ms61FhmE5Hn+KV3PG7DvyfLiEH0xJt0wCrd+XZ9Ue7WVNgIYGNaoERNSoeK5k0amlJv+IaFG+7xIwojnfKFlM44052q8/QV0BrIylUNPjB7fh6WaQJjTtjxvSg4hNX/xsMXVYJSQQY9+fTEeYx2Y= 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 14:37:12 +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 14:37:12 +0000 From: Akhil Goyal To: "Ananyev, Konstantin" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 2/3] examples/ipsec_secgw: fix possible NULL dereference Thread-Index: AQHU5IApOCoyaVT8TE2simt83Zdp2aYfb4sAgAAHAQCAABWOgA== Date: Wed, 27 Mar 2019 14:37:12 +0000 Message-ID: <3af6131e-e614-e9d5-46e3-89cc5ac30e90@nxp.com> References: <20190327093329.12521-1-konstantin.ananyev@intel.com> <20190327093329.12521-3-konstantin.ananyev@intel.com> <2601191342CEEE43887BDE71AB9772580136560AC0@irsmsx105.ger.corp.intel.com> In-Reply-To: <2601191342CEEE43887BDE71AB9772580136560AC0@irsmsx105.ger.corp.intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR01CA0138.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:40::32) 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: c1d1c0c3-835a-4b74-0239-08d6b2c1b2f4 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)(396003)(136003)(366004)(189003)(199004)(386003)(53546011)(71200400001)(486006)(6436002)(6506007)(446003)(7736002)(52116002)(44832011)(71190400001)(5660300002)(186003)(26005)(97736004)(106356001)(8676002)(76176011)(81166006)(31686004)(81156014)(66066001)(36756003)(3846002)(2501003)(2906002)(6116002)(316002)(110136005)(478600001)(86362001)(8936002)(68736007)(25786009)(93886005)(53936002)(229853002)(11346002)(6512007)(6246003)(99286004)(6486002)(305945005)(102836004)(476003)(14444005)(2616005)(256004)(105586002)(14454004)(31696002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB6128; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: 85zbx/QcDAe2fVj7V6TXXUCM8SOgd9FK15WmWNwKbzxynQnnA10BG4t5xx9arT3Y16pfIf6w77H0TKSm+0XCtPrARP1U3i6U8UizbO68dK1S2fXykw4JfojWQN95kd3fYJLJjOaubmXCldWRjisxRgjhLrI8pBu0spspgYirdZ7udElh0BW6VPiE9ugWY4zOggykBZJP6iLc467hB7yStGsFz+M01zY+Sf7DF+Lj210MY54IMdnwmksZHBvfoZA04f39Wvd0cesSncCQxXxCjnbxVfLphP4+yhPFl1kuKJxSvl5vSuw4tcKt4vLvtnrSMOpa4q4AwmMAHk3m6sdqKW5o2xKqLMCNdxg0JnNHVmxrR+hkgCwyfy7nOCkWV20DAIZhUQRslSrYHEpG2nYMaxjOXblVdfWyzMzxasJ8ckE= Content-Type: text/plain; charset="UTF-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c1d1c0c3-835a-4b74-0239-08d6b2c1b2f4 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Mar 2019 14:37:12.3284 (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 2/3] examples/ipsec_secgw: fix possible NULL dereference 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: <20190327143712.gV3XBy_YyS5UWUNJqcVGu9SfxDw7HABr9A6DKXE4hgs@z> DQoNCk9uIDMvMjcvMjAxOSA2OjQ5IFBNLCBBbmFueWV2LCBLb25zdGFudGluIHdyb3RlOg0KPiBI aSBBa2hpbCwNCj4NCj4+PiBGaXhlczogM2U1ZjQ2MjVkYzE3ICgiZXhhbXBsZXMvaXBzZWMtc2Vj Z3c6IG1ha2UgZGF0YS1wYXRoIHRvIHVzZSBJUHNlYyBsaWJyYXJ5IikNCj4+PiBDb3Zlcml0eSBp c3N1ZTogMzM2ODQ0DQo+Pj4NCj4+PiBTaWduZWQtb2ZmLWJ5OiBLb25zdGFudGluIEFuYW55ZXYg PGtvbnN0YW50aW4uYW5hbnlldkBpbnRlbC5jb20+DQo+Pj4gLS0tDQo+Pj4gICAgZXhhbXBsZXMv aXBzZWMtc2VjZ3cvaXBzZWNfcHJvY2Vzcy5jIHwgMTEgKysrKy0tLS0tLS0NCj4+PiAgICAxIGZp bGUgY2hhbmdlZCwgNCBpbnNlcnRpb25zKCspLCA3IGRlbGV0aW9ucygtKQ0KPj4+DQo+Pj4gZGlm ZiAtLWdpdCBhL2V4YW1wbGVzL2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