[fdo-trac] #521: SQLite: Null pointer dereference when GetClassDefinition is called on certain readers

FDO trac_fdo at osgeo.org
Sat May 9 12:12:12 EDT 2009


#521: SQLite: Null pointer dereference when GetClassDefinition is called on
certain readers
----------------------------+-----------------------------------------------
   Reporter:  traianstanev  |       Owner:  traianstanev
       Type:  defect        |      Status:  new         
   Priority:  critical      |   Milestone:  3.5.0       
  Component:  FDO API       |     Version:  3.4.0       
   Severity:  2             |    Keywords:              
External_id:                |  
----------------------------+-----------------------------------------------
 The crash happens when one calls GetClassDefinition on an FdoIDataReader
 returned from a SelectAggregates command with the SpatialExtent function.
 The problem is that the table the reader is based on is a temporary memory
 table, which does not exist in the metadata list for the regular tables.
 The logic in the caching code in the case where it doesn't find metadata
 in the cache is incorrect (it returns 0x1 rather than NULL).

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


More information about the fdo-trac mailing list