diff options
| author | Alan Cox <[email protected]> | 2013-12-12 02:44:24 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2013-12-17 22:42:44 -0800 |
| commit | 5561b6a1b3abaa27f6e52e4f7559c8733ca45e69 (patch) | |
| tree | e7f28a2baadb085e900a470d2202f1c797771c19 /tools/perf/scripts/python/bin | |
| parent | 582a74e5d3c243cff8d9af13d35e4ac829647e9f (diff) | |
i40e: Fix off by one in i40e_dbg_command_write
We assume that the resulting buffer is zero terminated when we then
re-use it. The sscanf is limited to 512 bytes but needs to be 511
to allow for a terminator.
One of a set of problems noted by Jackie Chang
Signed-off-by: Alan Cox <[email protected]>
Acked-by: Shannon Nelson <[email protected]>
Tested-by: Kavindya Deegala <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions