commit | d69bb92e402ff948bdcd39f19c9067874fb86873 | [log] [tgz] |
---|---|---|
author | Vlad Tsyrklevich <vlad@tsyrklevich.net> | Thu Oct 13 14:36:41 2016 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Oct 18 14:08:25 2016 +0200 |
tree | 7bbc369e84e7466fdfb8b669db191d2cc88ac7c5 | |
parent | f771d5bb71d4df9573d12386400540516672208b [diff] |
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 <vlad@tsyrklevich.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>