diff options
| author | Sudheer Mogilappagari <sudheer.mogilappagari@intel.com> | 2017-06-07 12:43:05 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-06-21 04:17:10 +0300 |
| commit | 1e99854715c79b3e2ebe09d80006aaff0f5c2335 (patch) | |
| tree | b13bdf997f13df0f0f0722d8e55166652bab3740 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 15d23b4c361f1449d44249bea127d2bdb981aa01 (diff) | |
| download | linux-1e99854715c79b3e2ebe09d80006aaff0f5c2335.tar.xz | |
i40e: Fix potential out of bound array access
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@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
