- 9p-null-terminate-error-strings-for-debug-print.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     9p: null terminate error strings for debug print
has been removed from the -mm tree.  Its filename was
     9p-null-terminate-error-strings-for-debug-print.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
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

origin.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux