From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Holtmann Date: Thu, 06 Aug 2009 20:14:02 +0000 Subject: Re: [PATCH 2/3] drivers/bluetooth: Add kmalloc NULL tests Message-Id: <1249589642.21101.27.camel@localhost.localdomain> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Julia Lawall Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org 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