pulseaudio/src
David Henningsson e521d38787 srbchannel: Defer reading when setting up read callback
Calling the callback while setting it up can make things
complicated for clients, as the callback can do arbitrarily
things.

In this case, a protocol error caused the srbchannel to be
owned by both the pstream and the native connection.

Now the read callback is deferred, making sure the callback
is called from a cleaner context where errors are handled
appropriately.

Reported-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2014-09-18 12:07:37 +02:00
..
daemon core: Add pa_cpu_init() / cpu.c 2014-09-10 16:01:14 +02:00
modules bluetooth: Allow policy module to pick 'off' profile 2014-09-18 10:54:23 +03:00
pulse Client API: Add pa_stream_write_ext_free() function. 2014-09-10 10:12:08 +02:00
pulsecore srbchannel: Defer reading when setting up read callback 2014-09-18 12:07:37 +02:00
tests alsa-time-test: Make constants for channels and rate 2014-09-18 11:51:47 +02:00
utils authkey: Rename pa_authkey_load_auto() to pa_authkey_load() 2014-06-24 13:15:11 +03:00
.gitignore tests: Remove mix-special-test 2014-09-10 17:56:03 +02:00
depmod.py remove remaining $ 2008-06-18 22:38:32 +02:00
Makefile.am tests: Remove mix-special-test 2014-09-10 17:56:03 +02:00
map-file Client API: Add pa_stream_write_ext_free() function. 2014-09-10 10:12:08 +02:00