Re: [PATCH] cgroups: avoid accessing uninitialized data in failure path

Li Zefan
2008-12-23T03:26:35Z

Li Zefan wrote:
> 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 should be blamed to introduce this bug in 2.6.26 merge window.
>

Sorry, I mean 2.6.27 merge window.

> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>