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 18958A0032; Wed, 11 May 2022 21:36:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A0C1406B4; Wed, 11 May 2022 21:36:23 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id F170F40042 for ; Wed, 11 May 2022 21:36:20 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24BJ0EOP031119; Wed, 11 May 2022 12:36:20 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2103.outbound.protection.outlook.com [104.47.58.103]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3g0at22btw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 May 2022 12:36:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MkLvTalyKXkcRywiam6vtnguRQIlpXVhhx2oYQFStVHKttNLqW8pZ9v2g925JIixNUyZ0s90Jyv+Jg6OIa2HjfbWMtmeQtavvF1tNwoL1O09ZncnBCTOuWvnbArLlC+gnvRszXaG/hmDExdfInxpQx+/CYynurq0ik2LEKe7iTaPGK/1nuHPUzHZ+1SW14QCvfLhFP5fgoBnd9CPRX+HwEIbljPM0t0NNQ6AVHo/62jI+U21jH/yJKuQy/uGq7CGSJKiBe+It8Y0UjtUpOlrQCU6rQJV42+ydP0PxxCuAOgClemHnEA6kC78GW01XBUqUd1R3IsgtibZdbO5sq7usQ== 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=fKroCqe7RENRQHMRz2rHODnucQSQjTKC0NHesTyo9tk=; b=D1GlA+MPMqx3AHNDop02uwXw1Fs52+6kp0c5y/OmY+Il/+r2vqupDMnv+QOwGGAM9NL5uGYjQhbSapOfR3dLOZTCAHjDbnAxXzPLrbjTcqUlTKR8KbiF/xXlFfZHp+QJ/499C5vxv+99U7LT7EOYQZTgkj4mSGg3vqT6Mlkg7OyGFyXzb8a4eq0xA6QofLsbUzeGUoZHWw2YMPV6jKX/AKwmTxH6CTmAVd6XMTWSvRl5nXkXR6Wrrj0YXMTx6IdDMDgefXtgNWvMNAtPY64f3G1YmgIZHeFtKyPNN20m0NL4+11wk43Lm1ycwQRBCkvjxu8SkhZzhMvt0vBlNJy7zw== 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=fKroCqe7RENRQHMRz2rHODnucQSQjTKC0NHesTyo9tk=; b=E2vLJIdhx/9hIvcSBePP2aZHDjDUw/5B8Mu6Mf1d7ZIacw1+uB8wvqbA9iIgxqVL615A22bGgJgq3Y6/LGjbstbt7+xN7BV8iXMc5Y8UIa40sv3VyBnUAnT0rasfVrcfQ+zy94Hupup0gTDOQJbKjRUX4bj9N2hU4n2l4wtzeDc= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by SN7PR18MB4093.namprd18.prod.outlook.com (2603:10b6:806:101::18) 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:36:18 +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:36:18 +0000 From: Akhil Goyal 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 Thread-Topic: [EXT] [PATCH] examples/ipsec-secgw: fix uninitialized memory access Thread-Index: AQHYQDupI8L33G9vgEGp1HuGml6tFK0E9CWAgBVoBLA= Date: Wed, 11 May 2022 19:36:18 +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: 1f16fb96-3be7-42ed-50ca-08da33858534 x-ms-traffictypediagnostic: SN7PR18MB4093: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: Cu0L5Kh1PFB11Ohv8sXx2MAGK7M5mTmUqnQmBWleyt/9GA2zbN2z7SJYJHhddFt2A8qxKkZGcerob43zjRoFJDJmvpVueFP0FurC5NA0Prq9eRY2mFeRY1+ZUuggtxGHMqR97Qzu+8c9xpr/Uw3E8Oe2LcxUW2GDKq33TX7JtVm+FxNLFLd4FZ9hxhEObt+Sjlw1SkOQO1IdSJD+OZ9rMU3eN/MYPlFIJ8sA3gIoqIrssWO0DSJYG974YKnWC+VhYWbQV0Nmmiv+mEGQpMY85jm9/BwD/mdvhMDLrVlKUshQHgoYmuU/TNWJFW+1HR4sYZHzx72DewX+Ev/3JhMYLzDs2q+f8IeB1qj/Bt8ZkVpeMUfAtVfoKtkdVZbQymbjlDSJ+eIlvyzDOgLouj95qclANwFnmeaiGO9bmvp4D84pyvKoTFytXn2fwYa7rv1vrJjPVy4LegcplAu1OIbpmVoSJtlUHsjB0u1Qm9eKIQS/auTFKS64qWt25Mdoxlp19tc37vleKb2QgY4U4KLx/kKaRtDrcXqBmyZKt7gi7qkUJGUXvSu1bA312zD12eWsiwujjR7kPvzm6Wh1wt0jf+IptEwPwmeq3TaMsq8GKoflG4PMrwt5/Ucpio46C33hnhl+rt9gfhbWEJP603mjyD7FP8qrnaEzFl4uLi9VDitQO/ySfcnYTKZIE3oRI8ps7d17wZGXnLBUjMaiV5Kr7w== 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)(316002)(71200400001)(66446008)(26005)(4326008)(8676002)(64756008)(83380400001)(66476007)(66556008)(9686003)(76116006)(66946007)(55016003)(55236004)(7696005)(52536014)(33656002)(38100700002)(38070700005)(107886003)(2906002)(110136005)(4744005)(8936002)(5660300002)(86362001)(508600001)(122000001)(186003)(54906003)(6506007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?SuL4QyoHFgRTrRwRR+/Eq26Imw2N/IwPMeiSx8Bbj7mFRIdY/ApWHlyehYcR?= =?us-ascii?Q?9va8GIJMAbCXJu4vMdp6JvITK+AXZoWQFf47cA+cWiEPOZtYkhHMEo9MAcl5?= =?us-ascii?Q?CwPo7ekVE06nzhiiUWUMmWsPDoS0MumZlpMKZYFoMqRh42+Dtd9vIWa0TQAZ?= =?us-ascii?Q?tiAZE3L/I+PU/eilfhFnn+BFolqHnZcZ4/G6d3gJ/tdkIcFD1/3az2jv2Lz/?= =?us-ascii?Q?uYnh1/SvyDRaJXmp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l+IWE?= =?us-ascii?Q?1Hq4r88e+bqhZ1eAcNZDmMOP3UUfH3tQZZat/nYP+5jCB9Mw0dkUpvq3NRJA?= =?us-ascii?Q?5JcRCLZhcRuJ+2azJk+LqQZeHVc/ln1YA/QTMNFnb0OS1jBK97/iawLMEOG2?= =?us-ascii?Q?IclVasIrxVirF7BFuAIWXUDsu6HOwOAKxvxx3b4amXOnrQNGWSUoKQIo1Jhi?= =?us-ascii?Q?zLxTbIlDc8VbR/5QOxFr/I+GfwKxaVmUlAV0kBLa34kG2HWmKm/UT8LH5dZ8?= =?us-ascii?Q?XXHn9yj5ws3TLV1ormKm74c4ZjYcEPpjgnkivCZkAoduhHCmrj88YJMQHeyX?= =?us-ascii?Q?IwEgoYjc+Kf8XXeeKmaNR0GkJLPn2mWBgjLXAuhh0gf4O6/DWE6Bjru6lOrZ?= =?us-ascii?Q?DMu/Vb+i4W7FMBi3B/VFWbYROTEMQYInWMnn4UlQPVJt+rjotaYfwXFcGk0w?= =?us-ascii?Q?hVbzJwp53xDvfXUSklmKn1un6sYPZJFrVl7ccgKeCiEp7YWMWKIEh7erF4c5?= =?us-ascii?Q?t6WuyLeJk6pbyAmEryMb+vzh4aLmww2CScmKjXnvhVXAw1xFryl034ThS2sq?= =?us-ascii?Q?vZLAg4mwo7EF3r/7nvyseW2X54ed66C5FJtK3T5HouHGbBfFkSAAgz+C7e8K?= =?us-ascii?Q?vT909ahOoQ=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: 1f16fb96-3be7-42ed-50ca-08da33858534 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2022 19:36:18.4343 (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: jBe9o6NLfaRa1aImFQHO6+N7gvPHJthLUbJMICWteSR94t/UVZvcYkJviCivZjSWaUKO4FSCxKCokDHu5GAhyw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR18MB4093 X-Proofpoint-ORIG-GUID: duU2-bK-Zur1tvWTCl2boClYJpTncjwW X-Proofpoint-GUID: duU2-bK-Zur1tvWTCl2boClYJpTncjwW 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 > > rte_flow_validate and rte_flow_create not always initialize flow error. > > Using error.message in some error cases will cause read from uninitiali= zed > > 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(-) > > >=20 > Acked-by: Anoob Joseph Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.