[fdo-trac] #798: ExpressionEngineUtilDataReader stability

FDO trac_fdo at osgeo.org
Sat Nov 5 11:41:18 EDT 2011


#798: ExpressionEngineUtilDataReader stability
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:  gregboone
       Type:  defect   |      Status:  new      
   Priority:  major    |   Milestone:  3.7.0    
  Component:  FDO API  |     Version:  3.7.0    
   Severity:  3        |    Keywords:           
External_id:           |  
-----------------------+----------------------------------------------------
 Using the FdoExpressionEngineUtilDataReader in debug mode seems to cause
 issues when cleaned up. The problem was that m_resultsStack is being
 rendrered into an invalid pointer (0xfeeefeee) at
 [http://trac.osgeo.org/fdo/browser/trunk/Utilities/ExpressionEngine/Src/Util/FdoExpressionEngineUtilDataReader.cpp#L151
 this line]. This causes problesm in the destructor where this pointer gets
 deleted.

 Attached is a patch to add an actual API to FdoResultsStack instead of
 allowing direct access to the m_results member. This resolves the invalid
 pointer problem in debug mode, and nothing is affected in release mode.

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


More information about the fdo-trac mailing list