
3 Jun
2011
3 Jun
'11
12:50 p.m.
Date 3.6.2011 00:45, Stephen Warren wrote:
When snd_use_case_get_list (and hence also snd_use_case_card_list) returns an empty list, alsaucm still attempts to free it. This ends up double- freeing the returned list, or worse, freeing an invalid pointer, depending on how snd_use_case_get_list gets implemented. Fix alsaucm to return early on empty lists to avoid this.
All four UCM patches were applied to our GIT repos.
Jaroslav
--
Jaroslav Kysela perex@perex.cz
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.