]> git.baikalelectronics.ru Git - kernel.git/commit
isdn: icn: use strlcpy() when parsing setup options
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 15 Mar 2015 10:48:03 +0000 (13:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2015 02:24:37 +0000 (22:24 -0400)
commitb8b94cb1b6f05d4a3e61e3511ca54f93d261a3e0
treef1753c9603bc388e9483b5a3f86d6e84cd04999d
parente0b326a5cbcd78d86ce164910a999185e2a1a4c9
isdn: icn: use strlcpy() when parsing setup options

If you pass an invalid string here then you probably deserve the memory
corruption, but it annoys static analysis tools so lets fix it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/icn/icn.c