Opened 16 years ago

Closed 16 years ago

#402 closed defect (fixed)

Two problems detected in FdoOwsHttpHandler for x64

Reported by: billkellner Owned by: Bill Kellner
Priority: critical Milestone:
Component: Utilities API Version: 3.2.0
Severity: 3 Keywords:
Cc: External ID: 1118081 and 1117809

Description

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.
  1. FdoOwsHttpHandler::GetLength() was returning 0xffffffff as -1. On 32 bits this was fine, but on 64 bits the value actually returned was 0x00000000ffffffff.

Change History (1)

comment:1 by billkellner, 16 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.