summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_script.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-12-23 13:57:14 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2008-12-23 15:58:21 -0800
commit20ca9b3f4c6dfa0af8dd5b18a64df17eb994b54d (patch)
tree508c0b887653577a2e28dc238c820178593f0f91 /fs/binfmt_script.c
parente368d3a836797ddf193b1ec18c97407a791d2451 (diff)
downloadkernel-crypto-20ca9b3f4c6dfa0af8dd5b18a64df17eb994b54d.tar.gz
kernel-crypto-20ca9b3f4c6dfa0af8dd5b18a64df17eb994b54d.tar.xz
kernel-crypto-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 'fs/binfmt_script.c')
0 files changed, 0 insertions, 0 deletions