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

Mark Michelson mmichelson at digium.com
Wed Jun 17 18:13:46 CDT 2009


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

Ship it!


Looks good!

- Mark


On 2009-06-17 17:56:07, Matthew Nicholson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.digium.com/r/285/
> -----------------------------------------------------------
> 
> (Updated 2009-06-17 17:56:07)
> 
> 
> 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 201533 
> 
> 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