* - fix-error-path-null-deref-in-alloc_posix_timer.patch removed from -mm tree
@ 2008-10-03 21:28 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2008-10-03 21:28 UTC (permalink / raw)
To: error27, tglx, mm-commits
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-03 21:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-03 21:28 - fix-error-path-null-deref-in-alloc_posix_timer.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.