summaryrefslogtreecommitdiffstats
path: root/kernel/posix-cpu-timers.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-12-23 22:57:14 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-12-24 00:58:21 +0100
commit20ca9b3f4c6dfa0af8dd5b18a64df17eb994b54d (patch)
tree508c0b887653577a2e28dc238c820178593f0f91 /kernel/posix-cpu-timers.c
parentcgroups: suppress bogus warning messages (diff)
downloadlinux-20ca9b3f4c6dfa0af8dd5b18a64df17eb994b54d.tar.xz
linux-20ca9b3f4c6dfa0af8dd5b18a64df17eb994b54d.zip
cgroups: avoid accessing uninitialized data in failure path
If cgroup_get_rootdir() failed, free_cg_links() will be called in the failure path, but tmp_cg_links hasn't been initialized at that time. I introduced this bug in the 2.6.27 merge window. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Serge Hallyn <serue@us.ibm.com> Cc: Paul Menage <menage@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/posix-cpu-timers.c')
0 files changed, 0 insertions, 0 deletions