isdn: fix strlen() usage
authorDan Carpenter <error27@gmail.com>
Sat, 10 Jul 2010 04:31:11 +0000 (04:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jul 2010 03:21:43 +0000 (20:21 -0700)
There was a missing "else" statement so the original code overflowed if
->master->name was too long.  Also the ->slave and ->master buffers can
hold names with 9 characters and a NULL so I cleaned it up to allow
another character.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found