From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E3458A0032; Wed, 11 May 2022 21:41:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90041406B4; Wed, 11 May 2022 21:41:08 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 19D7A40042 for ; Wed, 11 May 2022 21:41:06 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24BJ0Chk030008; Wed, 11 May 2022 12:41:06 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2107.outbound.protection.outlook.com [104.47.58.107]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3g06yd3cjj-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 May 2022 12:41:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SRiuiqCtARroVFaexMkqk0BlfFXvhI3zhu/zLGhnV4X1YiDsgDWGijmigoRzEbSjtNQFswpm+AqUAcWVIncFogIS5e9Trp9B8x8gWYKRqKT2u0V5JRZfZrpgyhG60UGtTbk1k3wyLZo5g5atP1jtDuiP7BKye84of/NloBcoM7zY2yZyteD2h8W8Q2HdkHzW7lg3RxGxFezf7U5QAhbiEhVVNCIHCDCvZvhHZgpBMkjMPlyZoOapbPR9Sz6hIn7si/crHMecUxiAtMxez73p/RHTG0168prSP2gebQ3zh5TErAFhGDVByfUO0AaS/DLTy0oiAi6gtGGdSJL9PRfwUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HTGzyOsTGLxPeoJq/gMacThqwavZ2MvqFz2Wm92r55w=; b=DlfPG/Pt2qrJgiiFsXEoeU7kSbogE5AOWI4gIX0iESMJMYXn47DQTPBJZJbiBN0IzeLd1b1M6v3kDKLUg/Wsx8ytks1dfVwpzKzB+/EJQV0MKQxLCamwclcKxIu/dSD8lV5HhDBoDyf5mb+xW1W1ia/p2RdIDR8DwCy4s1lsNnVo0Nu4FZkgxO71g6J2FRUbkto0nTk3eL0f14FXZmuCOwna9TNUSOuqo9vag3e71fQcjX1+Ov5rMbbnvafD0nh+3I6yWqIlJSRLzPomkNwWB9TU9PCI9c2mZJbkQbml0d0OfioqmJ/8wddnsfWUZBostY99ht380R/7AhKfbabKDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HTGzyOsTGLxPeoJq/gMacThqwavZ2MvqFz2Wm92r55w=; b=eGGalkdeRB0AjWv2kjun7N8ili31vn5iAN5EGejLzVXy3LLQ+ltYTJnUdw5pY/liiFQ7BK67kCA+3r5gdTuPqBoXNvhBFv7btWQVrv5UmITfCRGE+lvVFPlP3X9jI4vVYU9/Z6KsVTpGGgouWaPLTuGDZvSKhMYaXCQbY/aUDW8= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by MW2PR18MB2300.namprd18.prod.outlook.com (2603:10b6:907:11::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.13; Wed, 11 May 2022 19:41:03 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9c76:3b01:eb04:db4d]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9c76:3b01:eb04:db4d%5]) with mapi id 15.20.5250.013; Wed, 11 May 2022 19:41:03 +0000 From: Akhil Goyal To: Anoob Joseph , Volodymyr Fialko , "dev@dpdk.org" , Radu Nicolau CC: Jerin Jacob Kollanukkaran , Volodymyr Fialko , "stable@dpdk.org" Subject: RE: [EXT] [PATCH] examples/ipsec-secgw: fix uninitialized memory access Thread-Topic: [EXT] [PATCH] examples/ipsec-secgw: fix uninitialized memory access Thread-Index: AQHYQDupI8L33G9vgEGp1HuGml6tFK0E9CWAgBVoBLCAAAFf8A== Date: Wed, 11 May 2022 19:41:03 +0000 Message-ID: References: <20220325112942.1119663-1-vfialko@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ffb23930-e679-40e9-4b2d-08da33862f14 x-ms-traffictypediagnostic: MW2PR18MB2300:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gQyy7RFzQ3mJDKzW1z/ofSKzHSJ3LWrv4TOijnwoqkEwUq+YTcASGNOBdgHcUPdbDlo/rZQ2aNpp6GeawXVut+dlYq3gsay6mkU0+9BMm1f2bGA1m52/QS5+/CycWwhYR7his+hdiwlXYAzbCDrLDLvXgTVf+HMxEn4q9BrFhqk5VWd1Jcva2AZx668Tny9UqoBbxkxVHkNs5pmxHeZNNgoRM6pt08CvHbNRr6r0zojbcLdN7jB1Xs4uBM5YQp45n/zPwYCehd607BfV5XOoW0UgHadiGyEYp4BhoefYR2MImVvHUmkNsV4mj1C0viSOL6Hz33EP9kljjiXofkK5dcgGkzpTuvCRyQKhRoRl0Hk9Zmw5SA/WrXtFqMRZt4EpoCW+TQnoTMFWl2/xhCwm/+Du4FHnAXRHmzoLgi7qUIA8D/GIRVmbglFyP5zJec0s5ZHqI7Uy5Mieo+cSWJdvDGvWc31mCNMw6kAsTAojytpD1DKPtbjLlBfjoO2aIjcun19ypqfxrDhsS6pvFOSqi6ZOBwTOVQ4l7snsOnl0pcwrctDh5UoMRRO7CRl7t2rlXbl9swtwGn+kXoJ6+fdPpsK8fIjOD9aWoa9WoELOc6ClHiEyS8nRhEmh3jUAKBdJQfmK7ApuBGguI55WXOWutNw/w3FwFXV80iPv1B9OEAMK1/X5+6WVIbQw5JzN5kibkbxFF/Df/ep8tjErjHCHtg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(6506007)(508600001)(7696005)(110136005)(54906003)(55236004)(55016003)(71200400001)(122000001)(316002)(2906002)(38100700002)(38070700005)(83380400001)(66446008)(66556008)(4326008)(186003)(64756008)(8676002)(66476007)(66946007)(76116006)(8936002)(9686003)(4744005)(26005)(2940100002)(5660300002)(33656002)(52536014)(86362001)(53546011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?FU/RmhlorHnsNf57bqdxZrOnCeeEPILCBEAB535HubCrZ1u6hV9pv4DzLsXK?= =?us-ascii?Q?VnOaYSBt0bhnKHm0e9cUGGLK3OmarRs7qoJYYWbzsNWK9d1n076BYizBScrv?= =?us-ascii?Q?jmKvOlpbtpZZtysivigAEaVTgBfr0gG6yKP8T3bEheEYl2sjo7mShC+nLwAc?= =?us-ascii?Q?G/cEp0k6v3nru5FYi4hMt5K9bVinBw5J2Lm3M0M/O6F9oMTmOEjOh6O3ervB?= =?us-ascii?Q?5iStHDalQNEgdZdUp8i8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eZ6elWjTFxfPL8xC8THIUJWzIpyO22WSz3z4j0+ttg1iCg3CWgZGZvnvi9P?= =?us-ascii?Q?drAOyy20oQ2KfiQPITi8UcHOS6IJH93FGqrOvt+t/ajtcijDLf/g3DJfzAWG?= =?us-ascii?Q?OPvri1rp4EmY5BLCb6OCVPDMphhVLnLFPS/LOo7Zm0neo/eMSOgah+iuBZTv?= =?us-ascii?Q?NvpYe7PVh0LgWPnge5CkicSyE9QH/f77pckZSsBD1SOmnbJtCi5I1F6vUa7L?= =?us-ascii?Q?+/YRpwDp/jVtYQkGRDe1Tz8gXqI1jHi838rx+NywCASzCxjVEc6YjPWWalPk?= =?us-ascii?Q?LBf27OgT730nKhR7I3ntvRC5dBSl8sA7z1GTjCLrJ+7J6ugadKji13KFlqv6?= =?us-ascii?Q?ujXn/i+v8I0hy0ToVPbJuAv0FBMbNKYIzaR3WQA/3foLMSzOG9ZvPWzB0D3F?= =?us-ascii?Q?ow8wa9qGHYjwjJfK6nG55WQMccQdI0zE+dJHhIuhYxvyp2tXniOgJmHrveW7?= =?us-ascii?Q?ZhFk6JImYICOtMVBD8CSPm6Zfc32yCBRE2u7jz+A+3svYXzWET/OKtxYTO6+?= =?us-ascii?Q?5gvz+aBS/kJ9DEDF82ScHviOkCuzdjVvwtP8qluFWdGnyDib03qhVunO2mAr?= =?us-ascii?Q?qD92cG3zhw=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ffb23930-e679-40e9-4b2d-08da33862f14 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2022 19:41:03.4683 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dUdKIfB/ldejF02lCmztJrlGgE3byUE9V2kn4UGbp8hg6jErW3tiu893RbkusLWFfP5LfBXBsJYsgyaFj0IkwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR18MB2300 X-Proofpoint-GUID: piMQTbz7xBfbigW-h9vFc09VILe1GJzo X-Proofpoint-ORIG-GUID: piMQTbz7xBfbigW-h9vFc09VILe1GJzo X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-11_07,2022-05-11_01,2022-02-23_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Akhil Goyal > Sent: Thursday, May 12, 2022 1:06 AM > To: Anoob Joseph ; Volodymyr Fialko > ; dev@dpdk.org; Radu Nicolau > > Cc: Jerin Jacob Kollanukkaran ; Volodymyr Fialko > > Subject: RE: [EXT] [PATCH] examples/ipsec-secgw: fix uninitialized memory > access >=20 >=20 > > > rte_flow_validate and rte_flow_create not always initialize flow erro= r. > > > Using error.message in some error cases will cause read from uninitia= lized > > > memory. > > > > > > Fixes: 6738c0a9569 ("examples/ipsec-secgw: support flow director") > > > > > > Signed-off-by: Volodymyr Fialko > > > --- > > > examples/ipsec-secgw/flow.c | 2 +- > > > examples/ipsec-secgw/ipsec.c | 2 +- > > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > > > > Acked-by: Anoob Joseph >=20 > Acked-by: Akhil Goyal >=20 > Applied to dpdk-next-crypto >=20 > Thanks. Cc: stable@dpdk.org