[asterisk-dev] Possible deadlock situation in chan_sip.c?

Kevin P. Fleming kpfleming at digium.com
Wed Mar 21 17:31:04 MST 2007

Harald Raetscher wrote:
> Can this code section from chan_sip.c (begin at line 14920) cause
> deadlocks if any error occurs between the mutex lock for iflock?

What do you mean by 'any error'? Is there code in that for loop that can
cause the function to be existed without releasing the lock? If not,
there is no path through the function that would not end up releasing
the lock.

More information about the asterisk-dev mailing list