Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#1132 closed defect (fixed)

MgCoordinateSystemMgrs::ConvertFromLonLat gives wrong result in release mode

Reported by: hugueswski Owned by: hugueswski
Priority: high Milestone: 2.2
Component: General Version: 2.1.0
Severity: trivial Keywords:
Cc: External ID: 1253378

Description

The call to the CsMap API CScalcMgrsFromLl uses strlen on the input string instead of sizeof In debug builds the default content of the string "szMgrs" is not the same as the one in release mode and provides unpredictable output strings that can range from no output to the expected output. The computed value was correct but the string result is truncated

Change History (3)

comment:1 by hugueswski, 15 years ago

Owner: set to hugueswski
Status: newassigned

comment:2 by waltweltonlair, 14 years ago

Resolution: fixed
Status: assignedclosed

This was fixed with r4324.

comment:3 by waltweltonlair, 14 years ago

Milestone: 2.2
Version: 2.0.22.1.0
Note: See TracTickets for help on using tickets.