]> git.baikalelectronics.ru Git - kernel.git/commit
isdn: avoid copying too long drvid
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 24 Nov 2011 02:42:09 +0000 (02:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 23:39:37 +0000 (18:39 -0500)
commit503628bbc16f4ac43d55586216b03282d912fcf2
treeb717b567bd90f0f637d2d4ed48bea72567126a78
parent7d22533fe39512102deffacf1b8de3f72fa9ac33
isdn: avoid copying too long drvid

"cfg->drvid" comes from the user so there is a possibility they
didn't NUL terminate it properly.

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