[test-results] [Bamboo] Asterisk Testing > Asterisk 1.8 Branch > #206 was SUCCESSFUL (with 179 tests). Change made by Matthew Jordan.

Bamboo bamboo at asterisk.org
Thu May 17 08:39:07 CDT 2012


-----------------------------------------------------------------------
Asterisk Testing > Asterisk 1.8 Branch > #206 was successful.
-----------------------------------------------------------------------
Code has been updated by Matthew Jordan.
179 tests in total.

http://bamboo.asterisk.org/browse/TESTING-ASTERISK18BRANCH-206/


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

>Fix checking bounds of array index after using it; improper sizeof
>
>This patch fixes two problems pointed out by a static analysis tool.
>
>* In chan_dahdi, when an event is handled the index of the sub channel is first
>  obtained.  In very off nominal cases, the method that determines the index
>  can return a negative value.  In the event handling code, whether or not
>  the index returned is valid was being checked after that value was used to
>  index into an array.  This patch makes it so the value is checked before
>  any indexing is done.
>
>* In res_calendar_ews, sizeof was being passed a pointer instead of the struct to
>  determine the amount of memory to allocate.
>
>(issue ASTERISK-19651)
>Reported by: Matt Jordan
>
>(closes issue ASTERISK-19671)
>Reported by: Matt Jordan
>
>
>


--------------
Tests
--------------
Fixed Tests (1)
   - AsteriskTestSuite: S/channels/ s i p/sip cause

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


More information about the Test-results mailing list