[fdo-trac] #402: Two problems detected in FdoOwsHttpHandler for x64

FDO trac_fdo at osgeo.org
Thu Sep 25 13:49:24 EDT 2008


#402: Two problems detected in FdoOwsHttpHandler for x64
-----------------------------------+----------------------------------------
   Reporter:  billkellner          |       Owner:  Bill Kellner
       Type:  defect               |      Status:  new         
   Priority:  critical             |   Milestone:              
  Component:  Utilities API        |     Version:  3.2.0       
   Severity:  3                    |    Keywords:              
External_id:  1118081 and 1117809  |  
-----------------------------------+----------------------------------------
 Testing on 64 bits revealed the following two problems:

 1.  FdoOwsHttpHandler::_headerCallback was incorrectly using the sizeof()
 a char* rather then the length of the string as an argument to strncmp.
 This was causing the strncmp to behave incorrectly on 64 bits.

 2. FdoOwsHttpHandler::GetLength() was returning 0xffffffff as -1.  On 32
 bits this was fine, but on 64 bits the value actually returned was
 0x00000000ffffffff.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/402>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list