Opened 16 years ago
Closed 15 years ago
#521 closed defect (fixed)
SQLite: Null pointer dereference when GetClassDefinition is called on certain readers
Reported by: | traianstanev | Owned by: | traianstanev |
---|---|---|---|
Priority: | critical | Milestone: | 3.5.0 |
Component: | SQLite Provider | Version: | 3.4.0 |
Severity: | 2 | Keywords: | |
Cc: | External ID: |
Description
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).
Change History (2)
comment:1 by , 16 years ago
Component: | FDO API → SQLite Provider |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.