diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2013-09-28 07:13:39 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-10-22 05:55:59 -0700 |
commit | 520dfd8b09dc9f4da6499b93ef0db7166746e8c3 (patch) | |
tree | 1d221f9117e98425c396fe97334e4823776266e8 /lib/mpi/mpi-internal.h | |
parent | 6301002f8de0ae5b1e6044c422445b1a34cc6270 (diff) |
i40e: clamp debugfs nvm read command
This issue was identified by the coverity checker where we were
not checking the upper limit on reads, reported by Hannes
Frederic Sowa.
Implement more specific limits on reads (min 1k, max 4k)
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
CC: Hannes Frederic Sowa <hannes@stressinduktion.org>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions