aboutsummaryrefslogtreecommitdiff
path: root/include/sound/timer.h
diff options
context:
space:
mode:
authorWang Chen <wangchen@cn.fujitsu.com>2008-07-01 19:57:19 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-01 19:57:19 -0700
commit93b3cff9915322d6fa36bac0064714a7076230e4 (patch)
treef17f0fd69b2c5c930b29f5e40b214d6a458cbbfc /include/sound/timer.h
parent8fde8a076940969d32805b853efdce8b988d7dda (diff)
netdevice: Fix wrong string handle in kernel command line parsing
v1->v2: Use strlcpy() to ensure s[i].name be null-termination. 1. In netdev_boot_setup_add(), a long name will leak. ex. : dev=21,0x1234,0x1234,0x2345,eth123456789verylongname......... 2. In netdev_boot_setup_check(), mismatch will happen if s[i].name is a substring of dev->name. ex. : dev=...eth1 dev=...eth11 [ With feedback from Ben Hutchings. ] Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/sound/timer.h')
0 files changed, 0 insertions, 0 deletions