[Intel-wired-lan] [next PATCH S72-V3 05/13] i40e: Fix potential out of bound array access

Bowers, AndrewX andrewx.bowers at intel.com
Thu Jun 8 18:29:44 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Wednesday, June 7, 2017 2:43 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Cc: Mogilappagari, Sudheer <sudheer.mogilappagari at intel.com>
> Subject: [Intel-wired-lan] [next PATCH S72-V3 05/13] i40e: Fix potential out
> of bound array access
> 
> From: Sudheer Mogilappagari <sudheer.mogilappagari at intel.com>
> 
> This is a fix for the static code analysis issue where dcbcfg->numapps could
> be greater than size of array (i.e dcbcfg->app[I40E_DCBX_MAX_APPS]).
> The fix makes sure that the array is not accessed past the size of of the array
> (i.e. I40E_DCBX_MAX_APPS).
> 
> Copyright updated to 2017.
> 
> Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_dcb.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list