]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drivers/net/wireless/iwlegacy: use strlcpy instead of strncpy
authorChen Gang <gang.chen@asianux.com>
Mon, 7 Jan 2013 04:42:46 +0000 (12:42 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 19:34:45 +0000 (14:34 -0500)
commit407ee23725bba0f273963bb744fea6cb3cf78bf4
tree6a3edef9552166a9ebfb1ac125ab2582678d7784
parentc4f74d35cac7cbc44877313b69550e2f5aeae77d
drivers/net/wireless/iwlegacy: use strlcpy instead of strncpy

  The fields must be null-terminated, or simple_strtoul will cause issue.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/3945-mac.c