numam-dpdk/drivers/common
Hongbo Zheng 3de9af2aaa common/sfc_efx/base: fix dereferencing null pointer
In function efx_pci_xilinx_cap_tbl_find, pointer entry_offsetp is used
before null pointer check, which may cause access to null pointer.

This patch fix this problem.

Fixes: ba9568b8b4 ("common/sfc_efx/base: add Xilinx capabilities table lookup")
Cc: stable@dpdk.org

Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2021-04-27 17:21:33 +02:00
..
cnxk event/cnxk: add event port and queue xstats 2021-05-04 07:06:53 +02:00
cpt drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
dpaax common/dpaax: fix possible null pointer access 2021-04-21 16:58:34 +02:00
iavf net/iavf: deprecate i40evf PMD 2021-04-19 10:36:17 +02:00
mlx5 common/mlx5: add UMR and RDMA write WQE definitions 2021-05-04 22:51:18 +02:00
mvep drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
octeontx drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
octeontx2 drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
qat drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
sfc_efx common/sfc_efx/base: fix dereferencing null pointer 2021-04-27 17:21:33 +02:00
meson.build drivers: clean up build lists 2021-04-21 12:37:55 +02:00