From: Dan Carpenter Date: Sat, 10 Jul 2010 04:31:11 +0000 (+0000) Subject: isdn: fix strlen() usage X-Git-Tag: v2.6.36-rc1~571^2~258 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84ce981a076c6b2d3efec66bf92a91d1aa80c983;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed