[folded-merged] argv_split-teach-it-to-handle-mutable-strings-fix-2.patch removed from -mm tree

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

 



The patch titled
     Subject: argv_split-teach-it-to-handle-mutable-strings-fix-2
has been removed from the -mm tree.  Its filename was
     argv_split-teach-it-to-handle-mutable-strings-fix-2.patch

This patch was dropped because it was folded into argv_split-teach-it-to-handle-mutable-strings.patch

------------------------------------------------------
From: Oleg Nesterov <oleg@xxxxxxxxxx>
Subject: argv_split-teach-it-to-handle-mutable-strings-fix-2

Cc: Andi Kleen <andi@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 lib/argv_split.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN lib/argv_split.c~argv_split-teach-it-to-handle-mutable-strings-fix-2 lib/argv_split.c
--- a/lib/argv_split.c~argv_split-teach-it-to-handle-mutable-strings-fix-2
+++ a/lib/argv_split.c
@@ -63,7 +63,7 @@ char **argv_split(gfp_t gfp, const char
 	char **argv, **argv_ret;
 	int argc;
 
-	argv_str = kstrndup(str, KMALLOC_MAX_SIZE, gfp);
+	argv_str = kstrndup(str, KMALLOC_MAX_SIZE - 1, gfp);
 	if (!argv_str)
 		return NULL;
 
_

Patches currently in -mm which might be from oleg@xxxxxxxxxx are


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