[asterisk-dev] [Code Review] Fix deadlock in chan_sip.

Matthew Nicholson mnicholson at digium.com
Wed Jun 17 13:05:05 CDT 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/285/
-----------------------------------------------------------

Review request for Asterisk Developers.


Summary
-------

This patch resolves a deadlock in chan_sip caused by the channel pvt getting locked before the channel lock.  This change also fixes a race condition involving a channel variable returned by pbx_builtin_get_var_helper().


Diffs
-----

  /trunk/channels/chan_sip.c 201093 

Diff: http://reviewboard.digium.com/r/285/diff


Testing
-------

Lightly tested in my lab environment.


Thanks,

Matthew




More information about the asterisk-dev mailing list