Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ALSA: asihpi: fix kernel memory disclosure
Some elements in hr are not cleared before being copied to user space, leaking kernel heap memory to user space. For example, this happens in the error handling code for the HPI_ADAPTER_DELETE case. Zero the memory before it's copied. Signed-off-by: Vlad Tsyrklevich <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
- Loading branch information