The patch titled 9p: null terminate error strings for debug print has been added to the -mm tree. Its filename is 9p-null-terminate-error-strings-for-debug-print.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: 9p: null terminate error strings for debug print From: Eric Van Hensbergen <ericvh@xxxxxxxxx> We weren't properly NULL terminating protocol error strings for our debug printk resulting in garbage being included in the output when debug was enabled. Signed-off-by: Eric Van Hensbergen <ericvh@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/9p/error.c | 1 + 1 file changed, 1 insertion(+) diff -puN fs/9p/error.c~9p-null-terminate-error-strings-for-debug-print fs/9p/error.c --- a/fs/9p/error.c~9p-null-terminate-error-strings-for-debug-print +++ a/fs/9p/error.c @@ -83,6 +83,7 @@ int v9fs_errstr2errno(char *errstr, int if (errno == 0) { /* TODO: if error isn't found, add it dynamically */ + errstr[len] = 0; printk(KERN_ERR "%s: errstr :%s: not found\n", __FUNCTION__, errstr); errno = 1; _ Patches currently in -mm which might be from ericvh@xxxxxxxxx are 9p-fix-bogus-return-code-checks-during-initialization.patch 9p-fix-rename-return-code.patch 9p-update-documentation-regarding-server-applications.patch 9p-fix-segfault-caused-by-race-condition-in-meta-data-operations.patch 9p-null-terminate-error-strings-for-debug-print.patch 9p-use-kthread_stop-instead-of-sending-a-sigkill.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html