diff options
| author | Dan Carpenter <[email protected]> | 2012-04-17 23:37:31 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-04-18 16:58:16 -0700 |
| commit | f7738eda211091d8caf612b2bc1bac2fb52e48c6 (patch) | |
| tree | 74f8000ebd2a6e5df99c36db185a6003313d3a51 /tools/perf/scripts/python/netdev-times.py | |
| parent | ed2cb4f3b5ed96e4d10e054f981bbe58d0e3508e (diff) | |
Staging: rtl8192u: fix some memory corruption
When we received a command we incremented a stat counter depending on
the type of message. The problem is there were 8 types of commands but
there were only 4 counters allocated so it corrupted memory past the
end of the rxcmdpkt[] array.
The fix is just to remove the counters because they aren't used.
Signed-off-by: Dan Carpenter <[email protected]>
ACKed-by: Larry Finger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions