[mapguide-trac] #1828: CCoordinateSystemGeodeticTransformDef::SerializeFrom might cause heap corruptions

MapGuide Open Source trac_mapguide at osgeo.org
Thu Oct 13 15:31:05 EDT 2011


#1828: CCoordinateSystemGeodeticTransformDef::SerializeFrom might cause heap
corruptions
---------------------------+------------------------------------------------
   Reporter:  baertelchen  |       Owner:  baertelchen                                                              
       Type:  defect       |      Status:  new                                                                      
   Priority:  medium       |   Milestone:                                                                           
  Component:  General      |     Version:                                                                           
   Severity:  minor        |    Keywords:  Coordinate System API CCoordinateSystemGeodeticTransformDef SerializeFrom
External_id:               |  
---------------------------+------------------------------------------------
 If the implementation in
 CCoordinateSystemGeodeticTransformDef::SerializeFrom() causes an exception
 to be thrown, the code free's the internal pointer
 [this->transformDefinition)] 2 times thus causing a heap corruption later
 on when the object gets disposed.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1828>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list