[test-results] [Bamboo] Asterisk Testing > Asterisk Trunk > #72 was SUCCESSFUL (with 210 tests). Change made by Russell Bryant.

Bamboo bamboo at asterisk.org
Wed Mar 14 18:58:01 CDT 2012


-----------------------------------------------------------------------
Asterisk Testing > Asterisk Trunk > #72 was successful.
-----------------------------------------------------------------------
Code has been updated by Russell Bryant.
210 tests in total.

http://bamboo.asterisk.org/browse/TESTING-ASTERISKTRUNK-72/


--------------
Code Changes
--------------
Russell Bryant (359261):

>Fix bogus reads/writes of console log levels in asterisk.c 
>
>This patch updates the NUMLOGLEVELS define in logger.h to 32, to match the fact
>that logger.c implements 32 log levels (because of the custom log level stuff).
>asterisk.c uses this define to size an array of levels per remote console.
>
>This array is modified in ast_console_toggle_loglevel(), which is called by the
>"logger set level" CLI command.  While the documentation for the CLI command
>doesn't make it terribly obvious, you can use this CLI command to toggle a
>custom log level on a remote console, as well.  However, doing so led to an
>invalid array index in asterisk.c.
>
>This array is read from any time a log message is written to a console.  So, 
>all custom log level messages resulted in a bogus read if a remote console
>was connected.
>........
>
>Merged revisions 359259 from http://svn.asterisk.org/svn/asterisk/branches/1.8
>........
>
>Merged revisions 359260 from http://svn.asterisk.org/svn/asterisk/branches/10
>


--
This message is automatically generated by Atlassian Bamboo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/test-results/attachments/20120314/3273903e/attachment-0001.htm>


More information about the Test-results mailing list