Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ALSA: hdspm - prevent reading unitialized stack memory
Original patch by Dan Rosenberg <[email protected]> under commit e68d3b3. I'm copying his text here: The SNDRV_HDSPM_IOCTL_GET_CONFIG_INFO ioctl in hdspm.c allow unprivileged users to read uninitialized kernel stack memory, because several fields of the hdspm_config struct declared on the stack are not altered or zeroed before being copied back to the user. This patch takes care of it. Signed-off-by: Adrian Knoth <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
- Loading branch information