diff options
| author | Dan Carpenter <[email protected]> | 2010-07-10 04:31:11 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-07-13 03:21:43 +0000 |
| commit | 84ce981a076c6b2d3efec66bf92a91d1aa80c983 (patch) | |
| tree | 901ef430a4acbab2e2d92a15f7146b9e709e3eb0 /net/ipv6/tcp_ipv6.c | |
| parent | 9p: strlen() doesn't count the terminator (diff) | |
| download | kernel-84ce981a076c6b2d3efec66bf92a91d1aa80c983.tar.gz kernel-84ce981a076c6b2d3efec66bf92a91d1aa80c983.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
