summaryrefslogtreecommitdiffstats
path: root/drivers/net/macsonic.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-07-10 04:31:11 +0000
committerDavid S. Miller <davem@davemloft.net>2010-07-12 20:21:43 -0700
commit84ce981a076c6b2d3efec66bf92a91d1aa80c983 (patch)
tree901ef430a4acbab2e2d92a15f7146b9e709e3eb0 /drivers/net/macsonic.c
parent5c4bfa17f3ec46becec4b23d12323f7605ebd696 (diff)
isdn: fix strlen() usage
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>
Diffstat (limited to 'drivers/net/macsonic.c')
0 files changed, 0 insertions, 0 deletions