[FAST-15] Unsigned 32/64 and Signed 64 Integer fields overflow when breaching Integer.MAX_VALUE Created: 29/Oct/08  Updated: 11/Apr/11

Status: Open
Project: OpenFAST
Component/s: None
Affects Version/s: 1.0.0
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Jacob Northey Assignee: Jacob Northey
Resolution: Unresolved Votes: 1
Labels: None


 Description   

When adding, incrementing or decrementing an IntegerValue past the min or max values, an overflow occurs. The value should be stored in a LongValue wrapper instead.



 Comments   
Comment by Andrei Pozolotin [ 11/Apr/11 ]

specifically, for sequence numbers:

<uInt32 id="34" name="MsgSeqNum"/>

uInt32 is mapped to
public class IntegerValue extends NumericValue

with value of int:
public final int value;

Generated at Sat Nov 23 22:09:43 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.