Bruce Schuchardt created GEODE-5985:
---------------------------------------

             Summary: Possible integer overflow before assigning result to a 
long variable
                 Key: GEODE-5985
                 URL: https://issues.apache.org/jira/browse/GEODE-5985
             Project: Geode
          Issue Type: Bug
            Reporter: Bruce Schuchardt


There are many places where we are performing a calculation on an int variable 
and then storing the result in a long variable.  For instance,

long milliseconds = intVariable * 1000;

For correctness we should cast the int variable to a long or add an L to the 
numeric multiplier.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to