[asterisk-dev] [Code Review] Forward port of SIP request queueing to trunk

Russell Bryant russell at digium.com
Wed Jan 7 20:40:34 CST 2009


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



/trunk/channels/chan_sip.c
<http://reviewboard.digium.com/r/123/#comment674>

    You have to check for failure from sched_add() here.  If it fails, you'd have a reference leak.  It's an edge case, but possible ...
    
    Just as a general note, I took a quick look in chan_sip and noticed the same bug in a few other places.  I figured I'd mention it in case someone watching the list felt like working on it.  ;-)



/trunk/channels/chan_sip.c
<http://reviewboard.digium.com/r/123/#comment673>

    (I can't make this comment go away, ignore this ...)


- Russell


On 2009-01-07 18:40:04, Kevin Fleming wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.digium.com/r/123/
> -----------------------------------------------------------
> 
> (Updated 2009-01-07 18:40:04)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> Due to the significant changes in reference count handling in chan_sip.c between 1.4 and trunk, I'd appreciate a few other pairs of eyes (with brains attached) reviewing this port of the request queueing code to ensure that refcounts are properly handled.
> 
> 
> Diffs
> -----
> 
>   /trunk/channels/chan_sip.c 167620 
> 
> Diff: http://reviewboard.digium.com/r/123/diff
> 
> 
> Testing
> -------
> 
> Compile testing only.
> 
> 
> Thanks,
> 
> Kevin
> 
>




More information about the asterisk-dev mailing list