rtl8188eu: Fix smatch errors in core/rtw_mlme_ext.c

Smatch shows the following:
  CHECK   /home/finger/rtl8188eu/core/rtw_mlme_ext.c
/home/finger/rtl8188eu/core/rtw_mlme_ext.c:8594 mlme_evt_hdl() error: buffer overflow 'wlanevents' 24 <= 24
/home/finger/rtl8188eu/core/rtw_mlme_ext.c:8595 mlme_evt_hdl() error: buffer overflow 'wlanevents' 24 <= 24
/home/finger/rtl8188eu/core/rtw_mlme_ext.c:8596 mlme_evt_hdl() error: buffer overflow 'wlanevents' 24 <= 24
/home/finger/rtl8188eu/core/rtw_mlme_ext.c:8607 mlme_evt_hdl() error: buffer overflow 'wlanevents' 24 <= 24

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-09-06 22:43:40 -05:00
parent c17cf6327b
commit e2b681b690

View file

@ -898,6 +898,7 @@ static struct fwevent wlanevents[] = {
{0, NULL},
{0, NULL},
{0, &rtw_cpwm_event_callback},
{0, NULL},
};
#endif/* _RTL8192C_CMD_C_ */