Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ALSA: gus: fix null pointer dereference on pointer block
[ Upstream commit a0d21bb ] The pointer block return from snd_gf1_dma_next_block could be null, so there is a potential null pointer dereference issue. Fix this by adding a null check before dereference. Signed-off-by: Chengfeng Ye <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information