Opened 10 years ago

Closed 10 years ago

#3504 closed defect (fixed)

forceToPolygon() and forceToMultiLineString() can segfault on POLYGON EMPTY or polygons with empty rings

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.7.2
Component: OGR_SF Version: unspecified
Severity: normal Keywords:
Cc:

Description


Change History (1)

comment:1 Changed 10 years ago by Even Rouault

Resolution: fixed
Status: newclosed

r19210 /trunk/gdal/ogr/ogrgeometryfactory.cpp: Fix forceToPolygon() and forceToMultiLineString() to avoid segfaults on POLYGON EMPTY or polygons with empty rings (#3504)

r19211 /branches/1.7/gdal/ogr/ogrgeometryfactory.cpp: Fix forceToPolygon() and forceToMultiLineString() to avoid segfaults on POLYGON EMPTY or polygons with empty rings (#3504)

r19212 /trunk/autotest/ogr/ogr_factory.py: Test robustness of forceToXXX() primitives with various inputs (#3504)

Note: See TracTickets for help on using tickets.