]> code.delx.au - pulseaudio/commit
rescue-streams: Fix segfault in some conditions
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 2 Dec 2010 11:00:59 +0000 (16:30 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 2 Dec 2010 11:00:59 +0000 (16:30 +0530)
commit596e1792e0b8af3b600db4b82ad9967815642803
tree140d184008e8fe97a2d6a0290fa15531587331f2
parent027786c6de08abcfb0e8702e59810e1f00977d68
rescue-streams: Fix segfault in some conditions

There is a call to this function where 'skip' variable is NULL. Looks
like this code doesn't get hit very often, probably because a suitable
default sink can be found to move the stream to. However, if we can't
move to the default sink and skip is NULL, there will be a segfault.
src/modules/module-rescue-streams.c