All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] ipc-fix-potential-oops-when-src-msg-4k-w-msg_copy.patch removed from -mm tree
@ 2013-03-11 20:16 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2013-03-11 20:16 UTC (permalink / raw)
  To: peter, skinsbursky, stable, mm-commits


The patch titled
     Subject: ipc: fix potential oops when src msg > 4k w/ MSG_COPY
has been removed from the -mm tree.  Its filename was
     ipc-fix-potential-oops-when-src-msg-4k-w-msg_copy.patch

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

------------------------------------------------------
From: Peter Hurley <peter@hurleysoftware.com>
Subject: ipc: fix potential oops when src msg > 4k w/ MSG_COPY

If the src msg is > 4k, then dest->next points to the
next allocated segment; resetting it just prior to dereferencing
is bad.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Acked-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 ipc/msgutil.c |    3 ---
 1 file changed, 3 deletions(-)

diff -puN ipc/msgutil.c~ipc-fix-potential-oops-when-src-msg-4k-w-msg_copy ipc/msgutil.c
--- a/ipc/msgutil.c~ipc-fix-potential-oops-when-src-msg-4k-w-msg_copy
+++ a/ipc/msgutil.c
@@ -117,9 +117,6 @@ struct msg_msg *copy_msg(struct msg_msg
 	if (alen > DATALEN_MSG)
 		alen = DATALEN_MSG;
 
-	dst->next = NULL;
-	dst->security = NULL;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-11 20:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-11 20:16 [merged] ipc-fix-potential-oops-when-src-msg-4k-w-msg_copy.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.