]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: Fix potential NULL dereferences in daemon mode
authorTakashi Iwai <tiwai@suse.de>
Fri, 9 Dec 2016 16:28:47 +0000 (17:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Dec 2016 16:28:47 +0000 (17:28 +0100)
commit9839813e7c283ccc0d2a09279df0123d575d82d3
treeb509d482ce943724f5a251f7c94cacf4ea323fee
parent9ea2a1d06757e727430ef65f71b39d595ba2128f
alsactl: Fix potential NULL dereferences in daemon mode

The code releasing the each card object may access to NULL when a
bogus count is given.  Add a NULL check just to make sure.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
alsactl/daemon.c