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)
commit5dc5503f5a400be5a7dc611745a034f04b0679b8
treeb717b567bd90f0f637d2d4ed48bea72567126a78
parent746ae30f821a8533ffba7769e492f59a96fdbeec
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