linux/drivers/staging/rtl8192u
Dan Carpenter f7738eda21 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>
2012-04-18 16:58:16 -07:00
..
ieee80211 staging: Fix typo in multiple files 2012-04-10 10:31:01 -07:00
authors
changes
copying
dot11d.h
ieee80211_crypt.h
Kconfig staging/rtl81*: build as loadable modules only 2011-04-04 22:46:15 -07:00
Makefile
r819xU_cmdpkt.c Staging: rtl8192u: fix some memory corruption 2012-04-18 16:58:16 -07:00
r819xU_cmdpkt.h
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_firmware.c staging: rtl8192u: declare MODULE_FIRMWARE 2011-08-02 16:07:50 -07:00
r819xU_firmware.h
r819xU_HTGen.h
r819xU_HTType.h Fix common misspellings 2011-03-31 11:26:23 -03:00
r819xU_phy.c Fix common misspellings 2011-03-31 11:26:23 -03:00
r819xU_phy.h
r819xU_phyreg.h
r8180_93cx6.c
r8180_93cx6.h
r8180_pm.c
r8180_pm.h
r8190_rtl8256.c
r8190_rtl8256.h
r8192U_core.c Staging: rtl8712/rtl8192u: move USB device ID within staging drivers. 2012-03-02 16:36:38 -08:00
r8192U_dm.c
r8192U_dm.h
r8192U_hw.h
r8192U_wx.c staging: replace open-coded ARRAY_SIZEs 2012-04-10 15:25:55 -07:00
r8192U_wx.h
r8192U.h Staging: rtl8192u: fix some memory corruption 2012-04-18 16:58:16 -07:00