[fdo-trac] #572: ArcSDE provider: crash when using computed identifiers

FDO trac_fdo at osgeo.org
Mon Oct 26 10:30:13 EDT 2009


#572: ArcSDE provider: crash when using computed identifiers
-------------------------------+--------------------------------------------
   Reporter:  danstoica        |       Owner:  dan stoica
       Type:  defect           |      Status:  new       
   Priority:  major            |   Milestone:  3.5.0     
  Component:  ArcSDE Provider  |     Version:  3.4.0     
   Severity:  1                |    Keywords:            
External_id:                   |  
-------------------------------+--------------------------------------------
 Use any computed identifier like Floor(numerical_property). A crash will
 occur.

 This happens because when ArcSDEFeatureReader::PrepareStream () is storing
 the column names in an array of colums it doesn't take into account the
 fact sde_wide_to_multibyte () doesn't allocate memory and the result is a
 pointer to a volatile string. This string goes out of block scope and the
 array of columns contains garbage.

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


More information about the fdo-trac mailing list