Changes between Initial Version and Version 2 of Ticket #4765
- Timestamp:
- Jul 31, 2012, 1:25:20 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4765
- Property Keywords bt added
- Property Status new → assigned
- Property Version unspecified → 1.9.1
- Property Component default → GDAL_Raster
-
Ticket #4765 – Description
initial v2 3 3 In "btdataset.cpp" the line below fails because the conversion to int64 doesn't happen until after the multiply and add. None of the multipliers are int64 so you get integer overflow before the value is converted to int64 when it gets passed in to the function. 4 4 5 5 {{{ 6 6 /* -------------------------------------------------------------------- */ 7 7 /* Seek to profile. */ … … 15 15 return CE_Failure; 16 16 } 17 17 }}} 18 18 19 19 Replacing it with the below sorted that out. Still trying to process the file - there may be other int64 issues. 20 20 21 {{{ 21 22 /* -------------------------------------------------------------------- */ 22 23 /* Seek to profile. */ … … 30 31 return CE_Failure; 31 32 } 33 }}} 32 34 33 35 Kevin Murphy