[PATCH] Unchecked alloc_percpu() return in __create_workqueue()
authorBen Collins <bcollins@debian.org>
Sun, 8 Jan 2006 09:03:04 +0000 (01:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:54 +0000 (20:13 -0800)
commit676121fcb66c861804e38d94214fd5670a1ef595
tree7b0f9d34efd5e1cb9b6b595aedcd9419942b5055
parent9fa37fd1627ec804e57ae0388555719b03b39f20
[PATCH] Unchecked alloc_percpu() return in __create_workqueue()

__create_workqueue() not checking return of alloc_percpu()

NULL dereference was possible.

Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/workqueue.c