Return-Path: Subject: Re: [PATCH 2/3] drivers/bluetooth: Add kmalloc NULL tests From: Marcel Holtmann To: Julia Lawall Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org In-Reply-To: References: Content-Type: text/plain Date: Thu, 06 Aug 2009 13:14:02 -0700 Message-Id: <1249589642.21101.27.camel@localhost.localdomain> Mime-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Julia, > From: Julia Lawall > > Check that the result of kmalloc is not NULL before dereferencing it. > The patch also replaces kmalloc + memset by kzalloc. good that this driver is not merged upstream yet. I apply the patch to my tree. Thanks. Regards Marcel