Changes between Initial Version and Version 2 of Ticket #4765


Ignore:
Timestamp:
Jul 31, 2012, 1:25:20 PM (12 years ago)
Author:
warmerdam
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4765

    • Property Keywords bt added
    • Property Status newassigned
    • Property Version unspecified1.9.1
    • Property Component defaultGDAL_Raster
  • Ticket #4765 – Description

    initial v2  
    33In "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.
    44
    5 
     5{{{
    66/* -------------------------------------------------------------------- */
    77/*      Seek to profile.                                                */
     
    1515       return CE_Failure;
    1616   }
    17 
     17}}}
    1818
    1919Replacing it with the below sorted that out.  Still trying to process the file - there may be other int64 issues.
    2020
     21{{{
    2122/* -------------------------------------------------------------------- */
    2223/*      Seek to profile.                                                */
     
    3031       return CE_Failure;
    3132   }
     33}}}
    3234
    3335Kevin Murphy