[mapguide-trac] #1132: MgCoordinateSystemMgrs::ConvertFromLonLat
gives wrong result in release mode
MapGuide Open Source
trac_mapguide at osgeo.org
Wed Oct 28 18:04:40 EDT 2009
#1132: MgCoordinateSystemMgrs::ConvertFromLonLat gives wrong result in release
mode
--------------------------+-------------------------------------------------
Reporter: hugueswski | Owner:
Type: defect | Status: new
Priority: high | Milestone:
Component: General | Version: 2.0.2
Severity: trivial | Keywords:
External_id: 1253378 |
--------------------------+-------------------------------------------------
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
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1132>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list