* [#3146] Re: ChaosBits.net - [PATCH] AudioScience HPI driver: Unsafe memory management when allocating control cache
[not found] <eventum.4ker1nz9a.a4nuti@secure.sourcehosting.net>
@ 2010-10-29 20:20 ` Sally Reich [via ASI support]
0 siblings, 0 replies; only message in thread
From: Sally Reich [via ASI support] @ 2010-10-29 20:20 UTC (permalink / raw)
To: linux-kernel
========================================================
This message and your reply sent to
Staff: eblennerhassett@audioscience.com, linux@audioscience.com, sreich@audioscience.com
Customers: jj@chaosbits.net, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, perex@perex.cz, tiwai@suse.de
========================================================
Hello Jesper,
A quick email to let you know that we received your email; our Linux developer should reply in the beginning of next week (I believe he is out of the office on Monday).
Regards,
~Sally
On Fri, 29 Oct 2010, 16:15:24 EDT, Sally Reich wrote:
>
> Hi,
>
> I noticed that sound/pci/asihpi/hpicmn.c::hpi_alloc_control_cache() does
> not check the return value from kmalloc(), which may fail.
> If kmalloc() fails we'll dereference a null pointer and things will go bad
> fast.
<snip>
^ permalink raw reply [flat|nested] only message in thread