[test-results] [Bamboo] Asterisk Testing > Asterisk Trunk > #142 was SUCCESSFUL (with 228 tests). Change made by Matthew Jordan.

Bamboo bamboo at asterisk.org
Mon Apr 9 19:48:44 CDT 2012


-----------------------------------------------------------------------
Asterisk Testing > Asterisk Trunk > #142 was successful.
-----------------------------------------------------------------------
Code has been updated by Matthew Jordan.
228 tests in total.

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


--------------
Code Changes
--------------
Matthew Jordan (361707):

>Prevent invalid access of free'd memory if DAHDI channel during an MWI event
>
>In the MWI processing loop, when a valid event occurs the temporary caller ID
>information is deallocated.  If a new DAHDI channel is successfully created, 
>the event is passed up to the analog_ss_thread without error and the loop
>exits.  If, however, the DAHDI channel is not created, then the caller ID
>struct has been free'd, and the gains reset to their previous level.  This
>will almost certainly cause an invalid access to the free'd memory, either
>in subsequent calls to callerid_free or calls to callerid_feed.
>
>This patch makes it so that we only free the caller ID structure if a
>DAHDI channel is successfully created, and we bump the gains back up
>if we fail to make a DAHDI channel.
>........
>
>Merged revisions 361705 from http://svn.asterisk.org/svn/asterisk/branches/1.8
>........
>
>Merged revisions 361706 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/20120409/5a19424f/attachment-0001.htm>


More information about the Test-results mailing list