Opened 5 years ago

Closed 5 years ago

#947 closed defect (fixed)

GEOSHasZ crashes on non-empty collection with first empty item

Reported by: sirsigurd Owned by: sirsigurd
Priority: major Milestone:
Component: Default Version: 3.6.2
Severity: Unassigned Keywords:
Cc:

Description

GEOSHasZ crashes with such geometry GEOMETRYCOLLECTION (POINT EMPTY, POINT (1 2)).

geos_ts_c.cpp:3911: char GEOSHasZ_r(GEOSContextHandle_t, const geos::geom::Geometry*): Assertion `0 != g->getCoordinate()' failed.

Change History (3)

comment:1 by sirsigurd, 5 years ago

Owner: changed from geos-devel@… to sirsigurd

comment:2 by sirsigurd, 5 years ago

comment:3 by Sergey Fedoseev <fedoseev.sergey@…>, 5 years ago

Resolution: fixed
Status: newclosed

In 5f0919f/git:

Fix #947: Fix getCoordinate() of non-empty collection with empty first item.

Note: See TracTickets for help on using tickets.