Opened 16 years ago
Closed 16 years ago
#2323 closed defect (fixed)
NULL are valid values for the hGeom parameter of OGR_F_SetGeometryDirectly and OGR_F_SetGeometry
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.2 |
Component: | OGR_SF | Version: | 1.5.0 |
Severity: | normal | Keywords: | |
Cc: | warmerdam |
Description
The doc of OGRFeature::SetGeometryDirectly and OGRFeature::SetGeometry says that poGeomIn == NULL is perfectly valid, so the check in the C API is wrong.
Note:
See TracTickets
for help on using tickets.
Fixed in trunk in r14269 and in branches/1.5 in r14270