Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755600AbYLWD0f (ORCPT ); Mon, 22 Dec 2008 22:26:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753353AbYLWD01 (ORCPT ); Mon, 22 Dec 2008 22:26:27 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:64657 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753289AbYLWD00 (ORCPT ); Mon, 22 Dec 2008 22:26:26 -0500 Message-ID: <49505A23.1080304@cn.fujitsu.com> Date: Tue, 23 Dec 2008 11:25:23 +0800 From: Li Zefan User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Andrew Morton CC: Linux Containers , Paul Menage , LKML Subject: Re: [PATCH] cgroups: avoid accessing uninitialized data in failure path References: <4950595C.9070907@cn.fujitsu.com> In-Reply-To: <4950595C.9070907@cn.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 564 Lines: 16 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/