From: Dan Carpenter Date: Mon, 15 Mar 2010 12:28:00 +0000 (-0500) Subject: kgdboc,kgdbts: strlen() doesn't count the terminator X-Git-Tag: v2.6.39-rc1~53^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adb4b83c12f9d966ea3478aa14c60511467c9916;p=pandora-kernel.git kgdboc,kgdbts: strlen() doesn't count the terminator This is an off by one because strlen() doesn't count the null terminator. We strcpy() these strings into an array of size MAX_CONFIG_LEN. Signed-off-by: Dan Carpenter Signed-off-by: Jason Wessel --- Reading git-diff-tree failed