Re: [dpdk-dev] [PATCH] common/sfc_efx/base: avoid reading past the buffer

2020-11-06 Thread Ferruh Yigit
On 11/5/2020 8:46 PM, Ivan Malov wrote: Existing field ID validity check does not validate the field descriptor availability. Make it more rigorous to avoid reading past the buffer containing field descriptors. Coverity issue: 363742 Fixes: 370ed675a952 ("common/sfc_efx/base: support setting PPO

[dpdk-dev] [PATCH] common/sfc_efx/base: avoid reading past the buffer

2020-11-05 Thread Ivan Malov
Existing field ID validity check does not validate the field descriptor availability. Make it more rigorous to avoid reading past the buffer containing field descriptors. Coverity issue: 363742 Fixes: 370ed675a952 ("common/sfc_efx/base: support setting PPORT in match spec") Signed-off-by: Ivan Ma