[ 
https://issues.apache.org/jira/browse/MESOS-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190771#comment-13190771
 ] 

[email protected] commented on MESOS-129:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3583/
-----------------------------------------------------------

Review request for mesos.


Summary
-------

int j = j + 1 didn't make any sense; I assume int i = i + 1 was meant so the 
check would be done on all pairs.


This addresses bug MESOS-129.
    https://issues.apache.org/jira/browse/MESOS-129


Diffs
-----

  src/common/resources.hpp 350e75d 

Diff: https://reviews.apache.org/r/3583/diff


Testing
-------


Thanks,

Charles


                
> j = j + 1 in Resources::isAllocatable
> -------------------------------------
>
>                 Key: MESOS-129
>                 URL: https://issues.apache.org/jira/browse/MESOS-129
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Charles Reiss
>            Assignee: Charles Reiss
>            Priority: Minor
>
> common/resources.hpp has 'int j = j + 1' in for loop over Resources. This 
> appears to occasionally (only if things get compiled "just right"?) cause a 
> memory error that valgrind can find in some tests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to