diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-01-07 05:42:46 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-07 20:34:45 +0100 |
commit | 407ee23725bba0f273963bb744fea6cb3cf78bf4 (patch) | |
tree | 6a3edef9552166a9ebfb1ac125ab2582678d7784 /kernel/utsname_sysctl.c | |
parent | drivers/net/wireless/mwl8k.c: avoid use-after-free (diff) | |
download | linux-407ee23725bba0f273963bb744fea6cb3cf78bf4.tar.xz linux-407ee23725bba0f273963bb744fea6cb3cf78bf4.zip |
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>
Diffstat (limited to 'kernel/utsname_sysctl.c')
0 files changed, 0 insertions, 0 deletions