From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 49AF6A00C5; Thu, 30 Apr 2020 15:33:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2F2971DBD2; Thu, 30 Apr 2020 15:33:53 +0200 (CEST) Received: from baidu.com (mx21.baidu.com [220.181.3.85]) by dpdk.org (Postfix) with ESMTP id 27BFD1DBD1 for ; Thu, 30 Apr 2020 15:33:52 +0200 (CEST) Received: from BC-Mail-Ex07.internal.baidu.com (unknown [172.31.51.47]) by Forcepoint Email with ESMTPS id 0B085759F27651F4C9E1; Thu, 30 Apr 2020 21:33:46 +0800 (CST) Received: from BC-Mail-EX05.internal.baidu.com (172.31.51.45) by BC-Mail-EX07.internal.baidu.com (172.31.51.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1531.3; Thu, 30 Apr 2020 21:33:45 +0800 Received: from BC-Mail-EX05.internal.baidu.com ([172.31.51.45]) by BC-Mail-Ex05.internal.baidu.com ([172.31.51.45]) with mapi id 15.01.1531.010; Thu, 30 Apr 2020 21:33:45 +0800 From: "Yuan,Linsi" To: Somnath Kotur , Lance Richardson CC: Ajit Kumar Khaparde , dev Thread-Topic: [PATCH] net/bnxt: fix a possible stack smashing Thread-Index: AQHWHu6laFrYkcMoHkexX2DdqwRTa6iRqXfu Date: Thu, 30 Apr 2020 13:33:45 +0000 Message-ID: <6d9db28da11b4f2da8e236fae0e822f3@baidu.com> References: <1588248312-7410-1-git-send-email-yuanlinsi01@baidu.com>, In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.22.198.160] x-baidu-bdmsfe-datecheck: 1_BC-Mail-Ex07_2020-04-30 21:33:45:957 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] =?gb2312?b?tPC4tDogW1BBVENIXSBuZXQvYm54dDogZml4IGEg?= =?gb2312?b?cG9zc2libGUgc3RhY2sgc21hc2hpbmc=?= X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" U3VyZSwgSSdsbCBhZGQgaXQuDQoNCg0KVGhhbmtzLA0KDQpZdWFuIExpbnNpDQoNCl9fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fDQq3orz+yMs6IFNvbW5hdGggS290dXIgPHNvbW5hdGgu a290dXJAYnJvYWRjb20uY29tPg0Kt6LLzcqxvOQ6IDIwMjDE6jTUwjMwyNUgMjA6NTUNCsrVvP7I yzogWXVhbixMaW5zaTsgTGFuY2UgUmljaGFyZHNvbg0Ks63LzTogQWppdCBLdW1hciBLaGFwYXJk ZTsgZGV2DQrW98ziOiBSZTogW1BBVENIXSBuZXQvYm54dDogZml4IGEgcG9zc2libGUgc3RhY2sg c21hc2hpbmcNCg0KK0xhbmNlIFJpY2hhcmRzb24NCg0KVGhhbmtzIGZvciB0aGUgcGF0Y2gsIGNv dWxkIHlvdSBwbGVhc2UgYWRkIHRoZSAnRml4ZXMnIHRhZyBhcyB3ZWxsID8NCg0KDQoNCk9uIFRo dSwgQXByIDMwLCAyMDIwIGF0IDU6MzUgUE0geXVhbmxpbnNpMDEgPHl1YW5saW5zaTAxQGJhaWR1 LmNvbT4gd3JvdGU6DQo+DQo+IFdlIHNlZSBhIHN0YWNrIHNtYXNoaW5nIGFzIGEgcmVzdWx0IG9m IGRlZmVuc2l2ZSBjb2RlIG1pc3NpbmcuIE9uY2UgdGhlDQo+IG5iX3BrdHMgaXMgbGVzcyB0aGFu IFJURV9CTlhUX0RFU0NTX1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