commit | f5a373fe5a03dd97956da3e1fcde6e8b0c99a2f1 | [log] [tgz] |
---|---|---|
author | Naresh Jayaram <njayar@codeaurora.org> | Wed Feb 04 16:54:24 2015 +0530 |
committer | Naresh Jayaram <njayar@codeaurora.org> | Wed Feb 18 13:16:14 2015 +0530 |
tree | 045a336edbc0041610acf6281e0fe79cd75211e0 | |
parent | e749c808867f6e1174fc38a0b3d0c2b1dd35240b [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