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 8C6D845B04; Thu, 10 Oct 2024 17:07:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 21375402F1; Thu, 10 Oct 2024 17:07:41 +0200 (CEST) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id CF17B402E8 for ; Thu, 10 Oct 2024 17:07:39 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4XPY5901Dxz6HJyw; Thu, 10 Oct 2024 23:07:08 +0800 (CST) Received: from frapeml100006.china.huawei.com (unknown [7.182.85.201]) by mail.maildlp.com (Postfix) with ESMTPS id C5E2E140B3C; Thu, 10 Oct 2024 23:07:29 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml100006.china.huawei.com (7.182.85.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 10 Oct 2024 17:07:29 +0200 Received: from frapeml500007.china.huawei.com ([7.182.85.172]) by frapeml500007.china.huawei.com ([7.182.85.172]) with mapi id 15.01.2507.039; Thu, 10 Oct 2024 17:07:29 +0200 From: Konstantin Ananyev To: Stephen Hemminger , "dev@dpdk.org" Subject: RE: [PATCH v9 00/17] Use malloc function attribute to uncover bugs Thread-Topic: [PATCH v9 00/17] Use malloc function attribute to uncover bugs Thread-Index: AQHbGaH/ETbMziuVXk62S6nVT73er7KAGJfQ Date: Thu, 10 Oct 2024 15:07:29 +0000 Message-ID: <2e2d09b12c904724a0769c77763d5c37@huawei.com> References: <20240927204742.546164-1-stephen@networkplumber.org> <20241008164842.139045-1-stephen@networkplumber.org> In-Reply-To: <20241008164842.139045-1-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.170.131] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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 DQoNCj4gUmVjZW50IHZlcnNpb25zIG9mIEdDQyBoYXZlIHNvbWUgYWRkaXRpb25hbCBmdW5jdGlv biBhdHRyaWJ1dGVzIHRoYXQgY2FuDQo+IGhlbHAgd2l0aCBEUERLIHBlcmZvcm1hbmNlIGFuZCBz dGFiaWxpdHkuDQo+IA0KPiBUaGUgYWxsb2NfYWxpZ24gYXR0cmlidXRlIHRlbGxzIHRoZSBjb21w aWxlciB3aGF0IHRoZSBhbGlnbm1lbnQNCj4gb2YgdGhlIGFsbG9jYXRpb24gd2lsbCBiZSwgYW5k IHRoZSBvcHRpbWl6ZXIgY2FuIHVzZSB0aGlzIHRvIHByb2R1Y2UNCj4gYmV0dGVyIGNvZGUgKGVz cGVjaWFsbHkgbWVtY3B5IGFuZCBzdHJ1Y3R1cmUgY29waWVzKS4NCj4gDQo+IFRoZSBtYWxsb2Mg YXR0cmlidXRlIHRlbGxzIGNvbXBpbGVyIHRoYXQgb2JqZWN0IGlzIG5vdCBvdmVybGFwcGluZw0K PiBhbmQgcG90ZW50aWFsbHkgYWxpYXNpbmcuIEl0IGFsc28gYXMgYW4gYWRkaXRpb25hbCB2YXJp YW50IGluIEdDQyAxMQ0KPiBvciBsYXRlciB0aGF0IGFsbG93cyBmb3IgZGV0ZWN0aW5nIGFsbCBz b3J0cyBvZiBjb21tb24gZXJyb3JzIGxpa2UNCj4gY2FsbGluZyBmcmVlKCkgb24gbWVtb3J5IGFs bG9jYXRlZCB3aXRoIHJ0ZV9tYWxsb2MoKS4NCj4gDQo+IEluIG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