#1055 closed defect (fixed)
GEOSInterpolate() segfaults on empty geometry collections
Reported by: | caspervdw | Owned by: | strk |
---|---|---|---|
Priority: | minor | Milestone: | 3.8.2 |
Component: | C API | Version: | 3.8.0 |
Severity: | Unassigned | Keywords: | |
Cc: |
Description
Hi GEOS developers,
I am working on PyGEOS, a fast python wrapper for GEOS. While testing the GEOSInterpolate() we encountered segfaults on particular empty geometries. The full list is below.
In https://trac.osgeo.org/geos/ticket/926 this was already fixed for the empty linestring and linearring, but the issue persists for empty collections and on collections with the first geometry being empty, for example:
- MULTIPOINT EMPTY
- MULTILINESTRING EMPTY
- MULTILINESTRING Z (EMPTY, (0 0 0, 1 1 0))
- MULTIPOLYGON EMPTY
- GEOMETRYCOLLECTION EMPTY
- GEOMETRYCOLLECTION Z (LINESTRING EMPTY, POINT (1 1))
See related PyGEOS issue https://github.com/pygeos/pygeos/pull/208
Change History (5)
comment:1 by , 4 years ago
Status: | new → assigned |
---|
comment:4 by , 4 years ago
Milestone: | → 3.8.2 |
---|
Note:
See TracTickets
for help on using tickets.
Thanks for the report, I'm on it