git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cbac97
)
x86: uv - prevent NULL dereference in uv_system_init()
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Fri, 1 May 2009 20:25:11 +0000
(
00:25
+0400)
committer
Ingo Molnar
<mingo@elte.hu>
Sun, 3 May 2009 08:49:31 +0000
(10:49 +0200)
We may reach NULL dereference oops if kmalloc failed.
Prevent it with explicit BUG_ON.
[ Impact: more controlled assert in 'impossible' scenario ]
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Jack Steiner <steiner@sgi.com>
LKML-Reference: <
20090501202511
.GE4633@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
No differences found