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 0998EA0A0A for ; Tue, 6 Apr 2021 08:17:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E54AF140F20; Tue, 6 Apr 2021 08:17:57 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 99AB34068B; Tue, 6 Apr 2021 08:17:54 +0200 (CEST) IronPort-SDR: DJZyOCA9VSTYXKJKws3vU3o4jr5+qkpvcbiwQYHWKNHEiifqQ5YjJeceIJhokP+ueZGdnKpGbv kz+T4P6jF+wg== X-IronPort-AV: E=McAfee;i="6000,8403,9945"; a="189782664" X-IronPort-AV: E=Sophos;i="5.81,308,1610438400"; d="scan'208";a="189782664" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2021 23:17:53 -0700 IronPort-SDR: 2R2DwOBWlOLse/Z8TESJpw53RFcpkQEgloIWJ+OV4dn+iXAL2nODpRpcaQ7fyJq6+j8gvhcwD/ CJqGTwrbX/QA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,308,1610438400"; d="scan'208";a="414625256" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga008.fm.intel.com with ESMTP; 05 Apr 2021 23:17:52 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 5 Apr 2021 23:17:52 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 5 Apr 2021 23:17:51 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Mon, 5 Apr 2021 23:17:51 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.53) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Mon, 5 Apr 2021 23:17:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nDAOfegZA0DThV+Vg/7bTka4A5TiwcssfrYoycabQYxFmU5h/zrPOyPaLRL4hNhA4hljHlfMOZBZo4P6OYM3XRWll3zsQ+FRFtirxoKkuep01aOXSpqEBU+c8/1AEcr7n/1rQSFkpsVCIrcfHlVo+QLasP7+UE8VA5pkVoTwTXigdhoGCZgbZRFmMhuZvPFmCb2HRjV/2AxcX5I/4qRPhxnMpHrs1fvjBP6buT46jGllsChb6GjAdVwQuTtpz6l7yl/pRWHX/pJv/fFGeeevxkZPbjIYVUozTT6Zp7pH6g9eSsJS75DBpeQLJpDuPFc3JRjKoF+gG/7irxgWwGJEgQ== 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=nGcOTr2OACvi5FYXoVbUgUWqtWTBG4kpw/HPSNODo8Y=; b=gETFWVLwZFjhuVi/+XspU//ygHPsjcKmoAkg6SZs09y5t6boSfxDsCjK5IJFcvw/GN8kJZ7r4y240TwReHdfzBIllCoOFpmjIXO8hd8gUsCn6ZVuVSTU6TwY/E+LMNcSIc04eumuZf5POwgsfGjcP5C72q2n8lUqEl7oiYt3jG/QzLpyLojjduuiy+ZZvg/kgZN9U+rR4jLspsM4QnnwlVzcC1yRMuccFpluvhI8cZakkAlp0kuSVH1W1ihV7vygsvrUsQKi+liu+c/dljEMRQFM7Q2lDBXPdxFTbEvnN6xlnxmd19b2JmUJ+5AzfQ7qRkFfHlGRl1Cx56pZw0iZ/w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nGcOTr2OACvi5FYXoVbUgUWqtWTBG4kpw/HPSNODo8Y=; b=PmTA7oEsMDgu97wZYXv1N7MHGg9dcwwTicxLoMkUenIWLUr/SumkVqis9j95f0AD71HhEHuLJNmE9vvw1ksdJIpRg6+PRypI/+b7GaXPizajPRAAEq+z4lU5gGX8JS9KHHBiA1X1n1WE2milTcDRyOhfOGXpvyVWZcuPv2YICaE= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB4725.namprd11.prod.outlook.com (2603:10b6:208:263::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28; Tue, 6 Apr 2021 06:17:48 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4949:e7d9:9632:6fc7]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4949:e7d9:9632:6fc7%6]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 06:17:47 +0000 From: "Xia, Chenbo" To: "Liu, Yong" , "maxime.coquelin@redhat.com" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] vhost: fix accessing uninitialized variables Thread-Index: AQHXD/7iTocCQwnCi0WO8yv51wWuYaqnOI1Q Date: Tue, 6 Apr 2021 06:17:47 +0000 Message-ID: References: <20210303072755.82979-1-yong.liu@intel.com> In-Reply-To: <20210303072755.82979-1-yong.liu@intel.com> Accept-Language: en-US, zh-CN 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=intel.com; x-originating-ip: [192.102.204.51] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 228c531d-fd17-43b5-97ea-08d8f8c3b315 x-ms-traffictypediagnostic: MN2PR11MB4725: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3276; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vKljFG7TauIcAXpDP+41/mLIZJE10VFxOldgVB1Ba2dVrIac/64oo3vMIQge/PH7dCqHjjR0Rf/PzpXAA0ybVw2ixku9MwdK8hZKtC1hQzADbBAwU3QpJASLt71muBdQvrJn+LSBzruwqr+Wdr6td/bhgBWDPSsJ508oWtPwuacF7BUkEip8DRJfauUHDGD+7fwSYG1wdTIUMkTGDpst7f+6PuGDsZsbBcFePXezl/JsrUscnU+XDiPmtmMvFFdG7Li7GDkPxDT/wPMtWki9EbwNP7bL1uKdD2GQpRL1vkUNp16gQAUL5IMfkka1NwEKxnrNWG0jPUZ1qUySrTIhIb/vjideexykaoF14zgvvBTmKugucWHFJ361TkYZ344X9h/FbcjU/eHLDAjkxMHd4YHk1QPoAvhklSNDdydDQk4wzdYz3qoEsNqaYZFaDZvnwxdPcGhMo1nTW+TDHPtXyqzSzaQjm+OLPAmOu5o80DJmSpMsXQ5YuVOD9n499J+4z4iZOND4SN6nwAvBbmb18TrISoFKlNIKyefg/yrFXAB0Qx7YdGF3Uq79PDdaa7XOaFGBh2iFeVdbvTIG6XLwQcwT6RXZiuq5hyREqN5v2aIucsXBuatk4c0P3mNjkn5s6LVANacNHyWwSokTh6h4/Cosm275q7hEcECgEVY+jso= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(376002)(396003)(39860400002)(136003)(346002)(7696005)(6506007)(53546011)(4326008)(38100700001)(5660300002)(66476007)(8676002)(66556008)(55016002)(86362001)(66446008)(8936002)(54906003)(316002)(110136005)(33656002)(26005)(71200400001)(66946007)(83380400001)(64756008)(52536014)(9686003)(76116006)(2906002)(186003)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?Z1JtUTRTdWRSVVdTakd4RFVLZElKQXBFb1UvaGhwNnY5ZmJHNlJVb1pQZXhW?= =?utf-8?B?ZXIrRmtiVVh4SHc0QUpYMTErTDd0cGRpbGdqOTJ1SG0rNW5UVjMweVcvUysx?= =?utf-8?B?QjJ3d3ZGdVRYZGpTVU1kZmJkVmpuRHM2ejJTMUR2RjRPYzlldUlHSkhiNWFP?= =?utf-8?B?M2lHOVNWdHExLzNpYlhXTldiR1ZmMjR4UjhJb1EvNitFSklFQXJiZU9SY25j?= =?utf-8?B?N1UvSU5ZU3VoVW1DS0FoTG5mUkZRUWMzd2MxN0JhbWxrUEhYTDhkS0xEU0xX?= =?utf-8?B?alpGbzM1M291dUIyVnNZOWNtQ2E3bXRUbzNZYkRHZTJTcm5zUHpxSER5VXRW?= =?utf-8?B?RWVIZDhNTXNRSHNHcnBLaHRJL0k0OGRjb21nTG9OaURtbG81aFV6eGxtNWxF?= =?utf-8?B?aUlmeWpWVWl4dWVJanViTEwwY2pyUVR6VkRQNkUrbnBKNS9MRmd2THM0a21R?= =?utf-8?B?T2tIN1JnWkhkNXdQOXUwVTUxeDZHMlMvTDVq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pic3ptTlp2WVYzVHd6cGp6UnkzdzRR?= =?utf-8?B?cVpvRkRjc2IwNzV6NTRJdlR3Z1h1SC9qLzhzQ0VCaTZQTE9ZSjN0VHNOT2hI?= =?utf-8?B?MWk3ZnMvTi8yZWYxcGloVUlOTmhJNjRLbDBDaEZMMXdwemFTVEduMk41Tm5E?= =?utf-8?B?SmpXWXVZT2Z6NzQweHpXNDNua2EyS2JRUEErNlBKQWx4Y0xHNFB1cWRqMVE0?= =?utf-8?B?UWVPbll5TCtYU2FLazZBSlEzRFhJZ3JoZ1lQNWhTeUZGTnJreEUwTE9DWTR6?= =?utf-8?B?TXVpYklJSDYvbjBGRUdseGo0NzFnS1VDeVZCZHM1dVViRWxHd2dYam1qeldr?= =?utf-8?Q?qvxJzkvVL3WJmtCiEoZ5v1gWXSBtjipBfA/IXIn?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 228c531d-fd17-43b5-97ea-08d8f8c3b315 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Apr 2021 06:17:47.8583 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6cMOxlUYPhyxG6lB5I1cURkP88oR2y5HgjISRjhfxilFXR+/2drjc5rAXzxiV+mKZ/8sycyH00Z54aHhgpr03g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4725 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [PATCH] vhost: fix accessing uninitialized variables X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" SGkgTWFydmluLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IExpdSwg WW9uZyA8eW9uZy5saXVAaW50ZWwuY29tPg0KPiBTZW50OiBXZWRuZXNkYXksIE1hcmNoIDMsIDIw MjEgMzoyOCBQTQ0KPiBUbzogbWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb207IFhpYSwgQ2hlbmJv IDxjaGVuYm8ueGlhQGludGVsLmNvbT4NCj4gQ2M6IGRldkBkcGRrLm9yZzsgTGl1LCBZb25nIDx5 b25nLmxpdUBpbnRlbC5jb20+OyBzdGFibGVAZHBkay5vcmcNCj4gU3ViamVjdDogW1BBVENIXSB2 aG9zdDogZml4IGFjY2Vzc2luZyB1bmluaXRpYWxpemVkIHZhcmlhYmxlcw0KPiANCj4gVGhpcyBw YXRjaCBmaXhzIGNvdmVyaXR5IGlzc3VlIGJ5IGFkZGluZyBpbml0aWFsaXphdGlvbiBzdGVwIGJl Zm9yZQ0KPiB1c2luZyB0ZW1wb3JhcnkgdmlydGlvIGhlYWRlci4NCj4gDQo+IENvdmVyaXR5IGlz c3VlOiAzNjYxODEsIDM2NjEyMw0KPiBGaXhlczogZmIzODE1Y2M2MTRkICgidmhvc3Q6IGhhbmRs ZSB2aXJ0dWFsbHkgbm9uLWNvbnRpZ3VvdXMgYnVmZmVycyBpbiBSeC0NCj4gbXJnIikNCj4gQ2M6 IHN0YWJsZUBkcGRrLm9yZw0KPiANCj4gU2lnbmVkLW9mZi1ieTogTWFydmluIExpdSA8eW9uZy5s aXVAaW50ZWwuY29tPg0KPiANCj4gZGlmZiAtLWdpdCBhL2xpYi9saWJydGVfdmhvc3QvdmlydGlv X25ldC5jIGIvbGliL2xpYnJ0ZV92aG9zdC92aXJ0aW9fbmV0LmMNCj4gaW5kZXggNTgzYmYzNzlj Ni4uZmU0NjRiMzA4OCAxMDA2ND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