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 DA677A0524; Wed, 5 May 2021 15:57:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F0B840040; Wed, 5 May 2021 15:57:44 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 601464003C for ; Wed, 5 May 2021 15:57:42 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 145DtWnO028216; Wed, 5 May 2021 06:57:41 -0700 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2170.outbound.protection.outlook.com [104.47.56.170]) by mx0a-0016f401.pphosted.com with ESMTP id 38beb52kq8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 May 2021 06:57:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CVwh/5QP6R7gupP2GeQnk08ifBRRNkzaU5BTQcD+IncO7qcJDlFnEfzKNprNCyql+KDvwL6LwpPOYWM1JHpwGOlqfZqR+xGB0vbMP/KCl0P0CFbB8TLvR8ly/RE+myT1uTrPsRM7CeNJr6AMHDcilxB+bTTnwEUPtRllKBkcWNYqNb1KIsuTumZKhh1NOWgChpK/U1nCc3AcTLfbRvf93Dv44unLCPDFo6sYVmq/PyHPwP4SSNBCR0GTchoyEtw9Cx2kUwKilEPUPQ2zGJvLBQTVoeJvUxRuGkg7b2p1UMwEFOieVz2a96TntUSABEVGaaAT4DpoxCsTiC/NQmjcZg== 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-SenderADCheck; bh=OGXKUCrBcaaV/o6h7q+V//ygd9Uxy4i403HImKF3mvg=; b=SIoREI3Ghg7M5KIxCO/pk1N9YkgohB5ZgeB697YbrokWEvPfq3sVXX93jKC85mX+RbnnwcLXfFHa8LWEFfwDqnKUm9Eft6RRhv3T3NaAO7ubRsHrQ7X2qGAbJTupoGFb1PzneqwnufPBMm1QeHPv8M3QwiObPI4oCR2y5hWrwdEk+KUv3wMccZ7ZDycyRgfRQCMP19kAInL9HyLm3xOwrGkNN1PlapPooy8zp6A6jFk9KjI0jXqc06cto3SpzpgmF5t4brXQgJ6t38M5TTMCy5oICIWYIovBRYjj1Tuv2HsqizFM5I8XRw8i3ZZPd9q47K4/kmhfHCbjEAaND/jB3g== 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=OGXKUCrBcaaV/o6h7q+V//ygd9Uxy4i403HImKF3mvg=; b=Y3Wvha9+SRajk8ROpTiRAgirIVzPVX3UOe2wvbuLOB41JKv41VMu5113EMDLUvA3FnkhLhuf27suYarMQNuRDeuAkxUYBMqhYjOH0ASjGdwmL7Rj2J/lgZzEFPUTi3GkIuSLvzHrWPV10jI5vYeJp50O2kEWNqWIgqQvJIAa0Nk= Received: from MW2PR18MB2284.namprd18.prod.outlook.com (2603:10b6:907:10::16) by CO6PR18MB3985.namprd18.prod.outlook.com (2603:10b6:5:350::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20; Wed, 5 May 2021 13:57:40 +0000 Received: from MW2PR18MB2284.namprd18.prod.outlook.com ([fe80::3168:cb00:6607:743f]) by MW2PR18MB2284.namprd18.prod.outlook.com ([fe80::3168:cb00:6607:743f%7]) with mapi id 15.20.4108.025; Wed, 5 May 2021 13:57:39 +0000 From: Akhil Goyal To: "Chautru, Nicolas" , "Min Hu (Connor)" , "dev@dpdk.org" CC: "Yigit, Ferruh" Thread-Topic: [PATCH] baseband/turbo_sw: fix dereference of null Thread-Index: AQHXN4sPT7w+h5xy+EuFevfZZDD+h6rU/grA Date: Wed, 5 May 2021 13:57:39 +0000 Message-ID: References: <1619083505-65454-1-git-send-email-humin29@huawei.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=marvell.com; x-originating-ip: [171.48.51.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4b1dcf94-f972-41ce-daba-08d90fcdbf17 x-ms-traffictypediagnostic: CO6PR18MB3985: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:800; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Ma20gqDz01lkBrgZYug+eqRBr9zdMk2d0xb/5MXgnxTZN3JZPbvbX7DPwvzy+EQRaZ/tbGrqQ2xeq07Ne7fCr4tG/T+6CnoYo7Bo5X1b+UIeA45DwPg/hNYTJPV0UfFdJL3K+MbEefQlq3B9/cS6CS83NBv/jYTNupUH/w/aKmTymv/lZgH2ul1b8SUE6DvtucXxaWKatbcpqWg2/pH9sqsd1qTxakrEoeZyElkdP41lhNScDaXIkGbXsu6eQ+QgE0eLrQdJlaGOR8GI94fIudaRuRRMaeX4tSqAsJ5NY39Z43rHO5E+tvo/Pcn3aPa0GQBW+f9km1e5JX79UWK+WA3QdLmmVqKfVJulbIv6e+8tehbj/WwtNQ9Kx2FPbijJGTdW9ImAzO+a1NOKuvc+LhwXBalXcsKmhzRYoHR0ue45W+aEJgtu7zOq/LW8zXITxyDp9zZI4JpD/rjbeLIO4rxFE/WYhacJbpdeOjbEJoQdAKHboaXpa62I73MZQ+ltfng/Tjvw+BgBvQoG7+ULvLbOtb8nKS7gBHbWw03ZDp3oYfPZ9l8aHT561Wbp/3HBLhBnJwcTOTHLIXg2HXrIzdLeW11UJyPPR/TmyEAT67E= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW2PR18MB2284.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(376002)(39850400004)(366004)(346002)(396003)(26005)(4326008)(122000001)(86362001)(7696005)(478600001)(110136005)(38100700002)(83380400001)(316002)(8936002)(6506007)(186003)(71200400001)(5660300002)(2906002)(33656002)(76116006)(66446008)(66556008)(64756008)(4744005)(9686003)(66946007)(52536014)(8676002)(66476007)(55016002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?dsVjIthxWZX7ErKmHlJe0sIwQ36ybDxUQbUUtXrLbkCVFOSvs8hI/kRgtApe?= =?us-ascii?Q?bIt/4DFhi8lo4waZSy19C9S/69W+8S3KsOZCOk+320aWOH+kuzk397g6WbKK?= =?us-ascii?Q?BQrAbtj6qy5ZKr0Fl+Q0ICBBsuqNeye6f6WzQQY03xC2g/ZUyXeIqNWqqELl?= =?us-ascii?Q?M3PvG90PfKthf186Wh/aO3Ufj1EgvNJCISKmxUReNEbreuJ6qZPTC/tlt5kz?= =?us-ascii?Q?Gshshajib5Of4OnH+vReLGasAvs4RfEGoFdaJKXEIgBMgBNI0GTIYexXEYov?= =?us-ascii?Q?42Kdevpa+fif0/rcEek6qQK04lBvTMGpqeqiSqDGYNJVpIZprf2T2GYoZF5f?= =?us-ascii?Q?fckAxjVX1Xu4acT0EELlNRlJ2Wmmf0ICl19wG+Y7Rs7jy14g2EUY+gPj9Oph?= =?us-ascii?Q?K5oLACgf7sx2vPlNIC9JDEkcdv+mZD3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4=3D?= x-ms-exchange-transport-forked: True 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: MW2PR18MB2284.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4b1dcf94-f972-41ce-daba-08d90fcdbf17 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2021 13:57:39.5881 (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: PWPw/MFjHRV7z9aSSOQVmpPRMxEleDLQ7KvosVMMPjxSzDMKNJKSzSnxIuAqDB/Bnz6JRaERnfhUpYbIhGtBmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB3985 X-Proofpoint-ORIG-GUID: thrK7w_tygp2AHnus3ObH7VAI5F3btd9 X-Proofpoint-GUID: thrK7w_tygp2AHnus3ObH7VAI5F3btd9 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-05_07:2021-05-05, 2021-05-05 signatures=0 Subject: Re: [dpdk-dev] [PATCH] baseband/turbo_sw: fix dereference of null 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 Sender: "dev" >=20 >=20 > > -----Original Message----- > > From: Min Hu (Connor) > > Sent: Thursday, April 22, 2021 2:25 AM > > > > Return value of a function 'rte_malloc' is dereferenced without checkin= g, > > and may result in segmetation fault. > > > > This patch fixed it. > > > > Fixes: 31a7853d1ed9 ("baseband/turbo_sw: support large size code block"= ) > > Cc: stable@dpdk.org > > > > Signed-off-by: Min Hu (Connor) >=20 > Acked-by: Nicolas Chautru >=20 Applied to dpdk-next-crypto Thanks.