[dpdk-dev] [PATCH] net/ice: fix illegal pointer access in dev init

Zhang, Qi Z qi.z.zhang at intel.com
Thu Apr 1 14:00:02 CEST 2021



> -----Original Message-----
> From: Ma, WenwuX <wenwux.ma at intel.com>
> Sent: Thursday, April 1, 2021 11:21 PM
> To: Yang, Qiming <qiming.yang at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>
> Cc: dev at dpdk.org
> Subject: [PATCH] net/ice: fix illegal pointer access in dev init
> 
> mac_addrs in dev data should be allocated more memory space, Otherwise,
> traversing mac_addrs in function eth_dev_mac_restore() will result
> heap-buffer-overflow.
> 
> Signed-off-by: Wenwu Ma <wenwux.ma at intel.com>
> ---

The patch is duplicated with 
http://patchwork.dpdk.org/project/dpdk/patch/20210317060219.2162370-1-qi.z.zhang@intel.com/
which already be applied.




More information about the dev mailing list