commit | 3a3d4802816885234d7565541091c6e1e4e813dd | [log] [tgz] |
---|---|---|
author | Naresh Jayaram <njayar@codeaurora.org> | Wed Feb 04 16:54:24 2015 +0530 |
committer | Naresh Jayaram <njayar@codeaurora.org> | Fri Feb 13 17:36:58 2015 +0530 |
tree | 4a415254efda5343521b48855dd55b18d5b914ee | |
parent | c55a59af48c1f1004175f07be33235e3c6f7c8d7 [diff] |
wifi: Avoid illegal memory access. strncpy() is deprecated, instead use strlcpy() which will terminate the destination string with NULL character. Avoid ssid_utf8 pointer dereference before the NULL check. CRs-Fixed: 791155 Change-Id: I5986cd7a704e231713001a2929d86e41e567f6b0