[test-results] [Bamboo] Asterisk Testing > Asterisk Trunk > #157 has FAILED. Change made by Matthew Jordan.

Bamboo bamboo at asterisk.org
Tue Apr 17 19:19:21 CDT 2012


-----------------------------------------------------------------------
Asterisk Testing > Asterisk Trunk > #157 failed.
-----------------------------------------------------------------------
Code has been updated by Matthew Jordan.
No failed tests found, a possible compilation error.

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


--------------
Failing Jobs
--------------
  - Asterisk CentOS 6 64-Bit (CentOS 6): No tests found.


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

>Fix places in main where a negative return value could impact execution
>
>This patch addresses a number of modules in main that did not handle the
>negative return value from function calls adequately, or were not sufficiently
>clear that the conditions leading to improper handling of the return values
>could not occur.  This includes:
>
>* asterisk.c: A negative return value from the read function would be used
>directly as an index into a buffer.  We now check for success of the read
>function prior to using its result as an index.
>
>* manager.c: Check for failures in mkstemp and lseek when handling the
>temporary file created for processing data returned from a CLI command in
>action_command.  Also check that the result of an lseek is sanitized prior
>to using it as the size of a memory map to allocate.
>
>(issue ASTERISK-19655)
>Reported by: Matt Jordan
>
>Review: https://reviewboard.asterisk.org/r/1863/
>........
>
>Merged revisions 362359 from http://svn.asterisk.org/svn/asterisk/branches/1.8
>........
>
>Merged revisions 362360 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/20120417/01d11585/attachment.htm>


More information about the Test-results mailing list