From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Teigland Date: Tue, 15 May 2012 11:40:39 -0400 Subject: [Cluster-devel] [patch] dlm: NULL dereference on failure in kmem_cache_create() In-Reply-To: <20120515085812.GF30265@elgon.mountain> References: <20120515085812.GF30265@elgon.mountain> Message-ID: <20120515154039.GA2746@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tue, May 15, 2012 at 11:58:12AM +0300, Dan Carpenter wrote: > We aren't allowed to pass NULL pointers to kmem_cache_destroy() so if > both allocations fail, it leads to a NULL dereference. thanks, added that to next branch.