diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-04-17 23:37:31 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-18 16:58:16 -0700 |
| commit | f7738eda211091d8caf612b2bc1bac2fb52e48c6 (patch) | |
| tree | 74f8000ebd2a6e5df99c36db185a6003313d3a51 /kernel/sysctl_binary.c | |
| 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 <dan.carpenter@oracle.com>
ACKed-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
