diff options
| author | Li Zefan <[email protected]> | 2008-12-23 21:57:14 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-12-23 23:58:21 +0000 |
| commit | 20ca9b3f4c6dfa0af8dd5b18a64df17eb994b54d (patch) | |
| tree | 508c0b887653577a2e28dc238c820178593f0f91 /net/unix/af_unix.c | |
| parent | cgroups: suppress bogus warning messages (diff) | |
| download | kernel-20ca9b3f4c6dfa0af8dd5b18a64df17eb994b54d.tar.gz kernel-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 <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Cc: Paul Menage <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
