Thanks all. -----Original Message----- From: Yigit, Ferruh <[email protected]> Sent: Tuesday, April 20, 2021 9:01 AM To: Zhang, Tianfei <[email protected]>; Zhang, Qi Z <[email protected]>; Huang, Wei <[email protected]>; [email protected]; Xu, Rosen <[email protected]> Cc: [email protected] Subject: Re: [PATCH v2 1/1] raw/ifpga/base: check size before assigning
On 4/20/2021 1:13 AM, Zhang, Tianfei wrote: > > >> -----Original Message----- >> From: Yigit, Ferruh <[email protected]> >> Sent: 2021年4月20日 6:36 >> To: Zhang, Qi Z <[email protected]>; Huang, Wei >> <[email protected]>; [email protected]; Xu, Rosen <[email protected]> >> Cc: [email protected]; Zhang, Tianfei <[email protected]> >> Subject: Re: [PATCH v2 1/1] raw/ifpga/base: check size before >> assigning >> >> On 4/19/2021 9:12 AM, Zhang, Qi Z wrote: >>> >>> >>>> -----Original Message----- >>>> From: Huang, Wei <[email protected]> >>>> Sent: Thursday, April 8, 2021 4:52 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 v2 1/1] 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: 96ebfcf8125c ("raw/ifpga/base: add SPI and MAX10 device >>>> driver") >>>> >>>> Signed-off-by: Wei Huang <[email protected]> >>>> --- >>> >>> Applied to dpdk-next-net-intel. >>> >> >> This patch is missing the maintainer ack. >> >> Rosen, Tianfei, can you please review the patch? > > It looks good for me. > > Acked-by: Tianfei zhang <[email protected]> > Thanks, added in next-net.

