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 09EBD45813; Mon, 19 Aug 2024 13:03:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B740B402EE; Mon, 19 Aug 2024 13:03:44 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2077.outbound.protection.outlook.com [40.107.93.77]) by mails.dpdk.org (Postfix) with ESMTP id 75BA340267 for ; Mon, 19 Aug 2024 13:03:42 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GgtcGokhEHqyyxduRyk3JtH8asM8+Ug2yVTLWw5hWX+QN8uvhvvyPllE6MQog5HOfIkeSPo2NtHuD7mtKprLne7+MI16OEc1fp5jO4/oafhDbn8hLjbgMWKlRyhp5V0beLE1hxLCusndT1A9HAkLwaojFSatiWnwhztKLe6ZLY7NETO255d+sXLupl17TsmU262PgI8pz7AYf/YTbqXaOOwSiwQsP48Km3wYD9ovP/tHrH9nCvJodHr/VXgg020IkcmDrK634MgVvAqcNlSjgaYhixvzOcdEMt+4xVbNumWWoiPlcNxrxi427Uz0GmBmY9mBlMGfEXfSRtw317R+1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=gmVhgfXJrvVPPNYKusC8bxzFwRLJ4hyPh4xaZZqudOY=; b=a1ZQC/YT4ROQjfp0vUiEXWMgjJL5rWs3QPqqaCpwxlZCjxKNGSoXXrNRdXWQd/BMbdAL6qAjkiKOGIWFJZy+tC7YzxJW984MstLqmc7VtegeSwlYMS9l7BVq7ot0iJ7m7NBab7QGI0j44H4sAFe4f8mLLVQ2Jp3GOFTiAkksMpPYi6dR3u1YwO0KQ6dtJIPTNOVm+kmh6Ex3H1au1/wLaA2hXdTgSTSfgmH7G3wJltdq9KsywOJa1R1Nv9NIlYh/vmNqOPoyb+BMHR+spJeeL7b823rotLNb9/qS4RUmecmEgRAJObvuX+CvzLavyOXA1rCsCodZHFZ12zaaucXMTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gmVhgfXJrvVPPNYKusC8bxzFwRLJ4hyPh4xaZZqudOY=; b=fLicOiS02R4OlTlAzPSPH17Ag+A55rRBAHBiy7/cEyUPiErT9/s6/nE5dHnRHldeLKwt6pINoSe9SZD1dmRRPyOMoiyYeMcFqAKbCY3Cux8edi3qWmYlcWHNIl5OnUGS4NhobVeQ6atKgGFJkjIYv6uaQ4ZNDivEK+TQV0UGsG8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SN7PR12MB6911.namprd12.prod.outlook.com (2603:10b6:806:261::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21; Mon, 19 Aug 2024 11:03:40 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd%4]) with mapi id 15.20.7875.019; Mon, 19 Aug 2024 11:03:40 +0000 Message-ID: <559f1db2-395e-4d93-ba63-650cfed481eb@amd.com> Date: Mon, 19 Aug 2024 12:03:35 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net/tap: avoid memcpy with NULL arg To: Stephen Hemminger References: <20240814023426.124491-1-stephen@networkplumber.org> Content-Language: en-US Cc: dev@dpdk.org From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0/kEp49aIUhkRnQfmKmNVpcB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814023426.124491-1-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0283.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:195::18) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SN7PR12MB6911:EE_ X-MS-Office365-Filtering-Correlation-Id: f2d203b6-a7eb-4ee9-2504-08dcc03e94d4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Sy9lMExlWEpMV1hUZ2F5UGtNZEx5T09rUEd1dktFWUlJYU9QMTBPWXVlRG1P?= =?utf-8?B?bkxhNFJJV0t1Q2J0QUR0OTBMejVWNkFYVnlwRWlWaENzVnNqQXRyT3dEeG5k?= =?utf-8?B?Mkx4SVRkQWIrdzhvNWt5RjdwdEVZN2xoUjRRSnRLdThLbjVrUUFQQVVRNmR2?= =?utf-8?B?OUROL1VBSWVSVVg2NVczZnJaNEFUR2tkNWR0WGViVjhIZk1ZMW1YT2RsRVJY?= =?utf-8?B?NUpJOCtxM3JLQmdsY3htRXFyN2MrSGlGMUlvWGE1MGp5VVhBL1FSSXhvRGJT?= =?utf-8?B?SUMxK0V5NjlVNjExTi9ZamQrL1dPYnBicE1yTnBDYm9WM0t3eUY3cTVrOHc5?= =?utf-8?B?YS9QSnMrR0p6djJtYmc4cEloYWIzd09ueTNBRWpOM2sva0VrWmROaUNUR2Nl?= =?utf-8?B?YXMxNEllVHdoR1ZTTEpSQXp5VDdsNllLZHk0MStaUTE3TG5ZNXc2Sk9DbVRj?= =?utf-8?B?azJHVmpIT05pUFpXZnk2OFgwMjJQcGZiZEY2clphZWIyNk4vTGp0Mm8yNlA2?= =?utf-8?B?Y1hnc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ZKUFZ3a1FiTEZ0WXY5V3BSU3dzSEl1cDdGOWN0b3I2QVZzNDZKaE8yYWhY?= =?utf-8?B?MHRONHMzQnovZkZaSWNsYVdrT1ZCSWNnNFR1ZkRJSWdyeE1xNG4zSGNqYVNt?= =?utf-8?B?WEltRTZ2UERMb1dkeURHcU4wcEthVmhETUNhOXFnSkFmekF2czA3cGFkaEgz?= =?utf-8?B?YnllR1BGTUlodG83YWgxVThNQTZrbUQ2NkkzZzkrZzVsRnp3SWlaWFViZmF5?= =?utf-8?B?bVQyOHJvY0dHcW0vL1drc1VoZGh6REVGQXNzR1hCN1ZxaEtkRHRwRmh5ZGxN?= =?utf-8?B?MUp0WGVsRDc4SWVHNkh3bkRlTUFqZWVMeEROTDMyMGNLTStwenFjNTRnK245?= =?utf-8?B?eGZvSkxhTzVjd09lSFFLZz09?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VDg3WWt4YnludmpGcENKMlJkYTN2eTRYSmFuRFBnck1peVMwOUs3RDNMOHUr?= =?utf-8?B?cjN3VCtuUEdWSEdpVnp4c2hVTmNsTW1GN3dKYlM5T2F2a3hDcldoc0syU0hH?= =?utf-8?B?czRlR3BUaFU3YVVGeFZEb0lBWnFJa2RZekVTVHFhMm9kTC96Q0lwV20vMytx?= =?utf-8?B?Nm5sMVZIRnMvcUFwcTdoM3YvdjRlQWJhcFloOVpiay9zcTVZUENTVFRxSXFF?= =?utf-8?B?UHRFejZNaXNoVmpoaGtzSFdOangxcnFoNG92VlRZa255NUs2TFJCUWQzWlZr?= =?utf-8?B?UzdZNEdyb2k1YWVJMHFhSnNBS3BzaVFSTzZvRjNuek1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OntbattIbQD6/?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: f2d203b6-a7eb-4ee9-2504-08dcc03e94d4 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Aug 2024 11:03:40.0027 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DdKtejveIyN3ohKpZPA+rc+HSS/EgpbAL0OeRdyLtWs94W03FQoLfUjrtzLpQ64m X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6911 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 On 8/14/2024 3:34 AM, Stephen Hemminger wrote: > Calling memcpy with a null pointer even if zero length is > undefined, so check if data_length is zero. > Problem reported by Gcc analyzer. > > Signed-off-by: Stephen Hemminger > Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.