staging: wlags49_h2: strncpy, need checking the memory length
authorChen Gang <gang.chen@asianux.com>
Fri, 26 Apr 2013 10:31:58 +0000 (18:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 May 2013 22:08:16 +0000 (18:08 -0400)
HCF_MAX_NAME_LEN is 32, which may less than ''probe_rsp->rawData[1]'',
so need check the length when copy to ssid.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found