[alsa-devel] [alsa-ucm] segfault at __list_del function in list.h
20 Jun
2013
20 Jun
'13
9:23 a.m.
Hello.
I am testing pulseaudio ucm. I have faced a crash when active ucm device list empty.
Please let me know if following fix can be checked in alsa-lib-1.0.25/include/list.h
old code:
static __inline__ void list_del(struct list_head *entry) { __list_del(entry->prev, entry->next); }
new code:
static __inline__ void list_del(struct list_head *entry) { if(entry->prev && entry->next) __list_del(entry->prev, entry->next); }
Sajeesh
4203
Age (days ago)
4203
Last active (days ago)
0 comments
1 participants
participants (1)
-
sajeesh sidharthan