[asterisk-dev] [Code Review] VERBOSE message shows up on console when 'debug' enabled in logger.conf

Brett Bryant brettbryant at gmail.com
Wed Sep 15 15:52:26 CDT 2010



> On 2010-09-14 16:17:57, Russell Bryant wrote:
> > /branches/1.8/main/logger.c, line 913
> > <https://reviewboard.asterisk.org/r/915/diff/4/?file=12530#file12530line913>
> >
> >     I'm not sure that it's safe to have the source and destination overlap like this.  How about do an ast_strdupa() of logmsg->message + 1 and then set it?

Done in r5.


- Brett


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


On 2010-09-14 18:12:29, Brett Bryant wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/915/
> -----------------------------------------------------------
> 
> (Updated 2010-09-14 18:12:29)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> This patch fixes an issue where calling ast_verbose would place formatted verbose messages to the console when it wasn't supposed to.
> 
> 
> This addresses bug 17974.
>     https://issues.asterisk.org/view.php?id=17974
> 
> 
> Diffs
> -----
> 
>   /branches/1.8/main/logger.c 286375 
> 
> Diff: https://reviewboard.asterisk.org/r/915/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Brett
> 
>




More information about the asterisk-dev mailing list