Bug #32
GFitsTableLlgCol::integer() method is subject to overflow
Status: | New | Start date: | 02/20/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assigned To: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Duration: |
Description
The GFitsTableLlgCol::integer() method returns an int value which is too small to hold a full long long (64 Bit) integer.
The only obvious solution to this would be to change the generic return type of the integer() method to long long, but this may move the overflow problem to the user side. Maybe it would be better to add a range check to GFitsTableLlgCol::integer(), and throw an exception if an overflow occurs.
Recurrence
No recurrence.