Opened 16 years ago
Closed 16 years ago
#2424 closed defect (fixed)
gdal_grid crashes on features with NULL geometry or no point geometry on a layer
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.3 |
Component: | Utilities | Version: | 1.5.0 |
Severity: | normal | Keywords: | gdal_grid |
Cc: |
Description
hGeom = OGR_F_GetGeometryRef( hFeat ); // FIXME: handle collections if ( OGR_G_GetGeometryType( hGeom ) == wkbPoint || OGR_G_GetGeometryType( hGeom ) == wkbPoint25D ) {
-->hGeom is not tested for NULL
Change History (1)
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | gdal_grid crashes on features with NULL geometry → gdal_grid crashes on features with NULL geometry or no point geometry on a layer |
Note:
See TracTickets
for help on using tickets.
A crash could also occur when no point geometry was found on a layer.
Fixed in trunk in r14705 and in branches/1.5 in r14706