[asterisk-dev] [Code Review] Clean up dnsmgr.conf parsing

rmudgett reviewboard at asterisk.org
Tue Sep 13 14:04:38 CDT 2011


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



trunk/main/dnsmgr.c
<https://reviewboard.asterisk.org/r/1432/#comment8412>

    Checking for config == NULL here should be done to abort the config load.  Config can be NULL if ast_config_load2() fails to allocate the structure config represents.



trunk/main/dnsmgr.c
<https://reviewboard.asterisk.org/r/1432/#comment8410>

    Config can be NULL if ast_config_load2() fails.  So it needs to be checked somewhere.


- rmudgett


On Sept. 12, 2011, 7:26 p.m., Paul Belanger wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1432/
> -----------------------------------------------------------
> 
> (Updated Sept. 12, 2011, 7:26 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> Another module that requires cleanup.  Also includes some coding guidelines formatting.
> 
> 
> Diffs
> -----
> 
>   trunk/main/dnsmgr.c 335386 
> 
> Diff: https://reviewboard.asterisk.org/r/1432/diff
> 
> 
> Testing
> -------
> 
> local development box.
> 
> 
> Thanks,
> 
> Paul
> 
>

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


More information about the asterisk-dev mailing list