numam-dpdk/drivers/raw/ifpga
Wei Huang 687833fffa raw/ifpga/base: check size before assigning
In max10_staging_area_init(), variable "size" from fdt_get_reg() may
be invalid, it should be checked before assigning to member variable
"staging_area_size" of structure "intel_max10_device".

Coverity issue: 367480, 367482
Fixes: 96ebfcf812 ("raw/ifpga/base: add SPI and MAX10 device driver")
Cc: stable@dpdk.org

Signed-off-by: Wei Huang <wei.huang@intel.com>
Acked-by: Tianfei Zhang <tianfei.zhang@intel.com>
2021-04-19 10:13:27 +02:00
..
base raw/ifpga/base: check size before assigning 2021-04-19 10:13:27 +02:00
ifpga_rawdev.c raw/ifpga: set monitor thread name 2021-04-21 15:57:51 +02:00
ifpga_rawdev.h raw/ifpga: add miscellaneous APIs 2021-03-05 09:56:18 +01:00
meson.build drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
rte_pmd_ifpga.c raw/ifpga: add miscellaneous APIs 2021-03-05 09:56:18 +01:00
rte_pmd_ifpga.h raw/ifpga: add miscellaneous APIs 2021-03-05 09:56:18 +01:00
version.map raw/ifpga: add miscellaneous APIs 2021-03-05 09:56:18 +01:00