All of lore.kernel.org
 help / color / mirror / Atom feed
From: akpm@linux-foundation.org
To: error27@gmail.com, tglx@linutronix.de, mm-commits@vger.kernel.org
Subject: - fix-error-path-null-deref-in-alloc_posix_timer.patch removed from -mm tree
Date: Fri, 03 Oct 2008 14:28:49 -0700	[thread overview]
Message-ID: <200810032128.m93LSn78016641@imap1.linux-foundation.org> (raw)


The patch titled
     fix error-path NULL deref in alloc_posix_timer()
has been removed from the -mm tree.  Its filename was
     fix-error-path-null-deref-in-alloc_posix_timer.patch

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

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: fix error-path NULL deref in alloc_posix_timer()
From: "Dan Carpenter" <error27@gmail.com>

Found by static checker (http://repo.or.cz/w/smatch.git).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/posix-timers.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/posix-timers.c~fix-error-path-null-deref-in-alloc_posix_timer kernel/posix-timers.c
--- a/kernel/posix-timers.c~fix-error-path-null-deref-in-alloc_posix_timer
+++ a/kernel/posix-timers.c
@@ -441,7 +441,7 @@ static struct k_itimer * alloc_posix_tim
 		return tmr;
 	if (unlikely(!(tmr->sigq = sigqueue_alloc()))) {
 		kmem_cache_free(posix_timers_cache, tmr);
-		tmr = NULL;
+		return NULL;
 	}
 	memset(&tmr->sigq->info, 0, sizeof(siginfo_t));
 	return tmr;
_

Patches currently in -mm which might be from error27@gmail.com are

origin.patch


                 reply	other threads:[~2008-10-03 21:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200810032128.m93LSn78016641@imap1.linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=error27@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.