summaryrefslogtreecommitdiff
path: root/coverity
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2017-05-08 12:58:49 +0300
committerTanu Kaskinen <tanuk@iki.fi>2017-05-18 23:32:32 +0300
commita7017b831e0d5b6f699fe05bc1b67a14c151ef12 (patch)
treee4452a6641aa8ffdcf57942d024270dbb4bb9a97 /coverity
parente08124f6ba09d553e3a9a3b8fee16f3a83571122 (diff)
downloadpulseaudio-a7017b831e0d5b6f699fe05bc1b67a14c151ef12.tar.gz
sink-input, source-output: don't allow moving streams that are connected to moving filter devices
When a filter sink is moving, it's not connected to any master sink, and therefore it's not connected to any IO thread either. In this situation trying to move a stream that is connected to the filter sink is likely to result in crashing, because starting the move involves sending a message to the IO thread. Sometimes this works by accident (the asyncmsgq of the filter sink still points to the old master sink's asyncmsgq), but we really should never attempt it. This patch blocks all moves where the moving stream is connected to a filter sink that itself is in the middle of a move. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=100277
Diffstat (limited to 'coverity')
0 files changed, 0 insertions, 0 deletions