[test-results] [Bamboo] Asterisk Testing > Asterisk Trunk > #286 has FAILED (1 tests failed, no failures were new). Change made by Matthew Jordan.

Bamboo bamboo at asterisk.org
Thu May 17 12:14:06 CDT 2012


-----------------------------------------------------------------------
Asterisk Testing > Asterisk Trunk > #286 failed.
-----------------------------------------------------------------------
Code has been updated by Matthew Jordan.
1/234 tests failed, no failures were new.

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


--------------
Failing Jobs
--------------
  - Asterisk CentOS 6 64-Bit (CentOS 6): 1 of 234 tests failed.


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

>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
>........
>
>Merged revisions 366740 from http://svn.asterisk.org/svn/asterisk/branches/1.8
>........
>
>Merged revisions 366741 from http://svn.asterisk.org/svn/asterisk/branches/10
>


--------------
Tests
--------------
Existing Test Failures (1)
   - AsteriskTestSuite: S/channels/ s i p/noload res srtp attempt srtp

--
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/58e4603e/attachment.htm>


More information about the Test-results mailing list