From: Dan Carpenter Date: Sat, 10 Jul 2010 09:51:54 +0000 (+0200) Subject: 9p: strlen() doesn't count the terminator X-Git-Tag: v2.6.36-rc1~588^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cff6b8a9b81b404e8ce0257b26007c3afe625212;p=pandora-kernel.git 9p: strlen() doesn't count the terminator This is an off by one bug because strlen() doesn't count the NULL terminator. We strcpy() addr into a fixed length array of size UNIX_PATH_MAX later on. The addr variable is the name of the device being mounted. Signed-off-by: Dan Carpenter Signed-off-by: Eric Van Hensbergen --- Reading git-diff-tree failed