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?