[asterisk-dev] [Code Review] Eliminate port doubling in SIP notification header Message-Account

Mark Michelson reviewboard at asterisk.org
Thu Jan 19 15:38:45 CST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1678/#review5225
-----------------------------------------------------------

Ship it!


Excellent work tracking this one down. The comment in the netsock2 code is a good touch.

- Mark


On Jan. 19, 2012, 3:22 p.m., jrose wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1678/
> -----------------------------------------------------------
> 
> (Updated Jan. 19, 2012, 3:22 p.m.)
> 
> 
> Review request for Asterisk Developers, Mark Michelson and Matt Jordan.
> 
> 
> Summary
> -------
> 
> This patch prevents the domain string from getting mangled during the initreqprep step by moving the initialization to before its immediate use.  It also documents this pitfall for the ast_sockaddr_stringify functions.
> 
> This only resolves part 1 of the reporter's issues.  The reporter's patch is perfectly adequate for part 2, but it doesn't apply to 1.8 while this part of the issue does.
> 
> 
> This addresses bug ASTERISK-19057.
>     https://issues.asterisk.org/jira/browse/ASTERISK-19057
> 
> 
> Diffs
> -----
> 
>   /branches/1.8/channels/chan_sip.c 351503 
>   /branches/1.8/include/asterisk/netsock2.h 351503 
> 
> Diff: https://reviewboard.asterisk.org/r/1678/diff
> 
> 
> Testing
> -------
> 
> Code tracing and reproduction of the issue coupled with making sure this actually fixed it.
> 
> 
> Thanks,
> 
> jrose
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120119/82acf644/attachment-0001.htm>


More information about the asterisk-dev mailing list