[#3146] Re: ChaosBits.net - [PATCH] AudioScience HPI driver: Unsafe memory management when allocating control cache
A message that is not in the archive (sent off-list or not yet received): [email protected]
========================================================
This message and your reply sent to
Staff: [email protected], [email protected], [email protected]
Customers: [email protected], [email protected], [email protected], [email protected], [email protected]
========================================================
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
Quoted 7 lines · Sally Reich
Hi,
I noticed that sound/pci/asihpi/hpicmn.c::hpi_alloc_control_cache() does not check the return value from
kmalloc(), which may fail.
Ifkmalloc()fails we'll dereference a null pointer and things will go bad fast.
<snip>