> -----Original Message----- > From: Huang, Wei <[email protected]> > Sent: Monday, May 31, 2021 1:23 PM > To: [email protected]; Xu, Rosen <[email protected]>; Zhang, Qi Z > <[email protected]> > Cc: [email protected]; Zhang, Tianfei <[email protected]>; Yigit, Ferruh > <[email protected]>; Huang, Wei <[email protected]> > Subject: [PATCH v1] raw/ifpga/base: check address before assigning > > In max10_staging_area_init(), variable "start" from fdt_get_reg() may be > invalid, it should be checked before assigning to member variable > "staging_area_base" of structure "intel_max10_device". > > Coverity issue: 367480, 367482 > Fixes: a05bd1b40bde ("raw/ifpga: add FPGA RSU APIs") > Cc: [email protected] > > Signed-off-by: Wei Huang <[email protected]> > Acked-by: Tianfei Zhang <[email protected]> Applied to dpdk-next-net-intel. Thanks Qi

