diff options
author | David Vossel <dvossel@digium.com> | 2010-05-10 18:36:10 +0000 |
---|---|---|
committer | David Vossel <dvossel@digium.com> | 2010-05-10 18:36:10 +0000 |
commit | 351e0e90c57485528c89d9c9c71051de722b2c9d (patch) | |
tree | 972c13890f02e57b4cafff4f869a6b1263eafa94 /bootstrap.sh | |
parent | 618bbdc2ad1718b0f915b08fc9500817ff12f7af (diff) |
fixes crash in chan_console
There is a race condition between console_hangup()
and start_stream(). It is possible for console_hangup()
to be called and then the stream thread to begin after the hangup.
To avoid this a check in start_stream() to make sure the pvt-owner
still exists while the pvt lock is held is made. If the owner
is gone that means the channel hung up and start_stream should
be aborted.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@262236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'bootstrap.sh')
0 files changed, 0 insertions, 0 deletions