[postgis-tickets] [PostGIS] #4275: Crash in GEOSisEmpty_r

PostGIS trac at osgeo.org
Fri Dec 14 01:11:28 PST 2018


#4275: Crash in GEOSisEmpty_r
------------------------+---------------------------
 Reporter:  Algunenano  |      Owner:  Algunenano
     Type:  defect      |     Status:  assigned
 Priority:  medium      |  Milestone:  PostGIS 2.4.7
Component:  postgis     |    Version:  2.4.x
 Keywords:              |
------------------------+---------------------------
 We've recently had a crash pointing to `GEOSisEmpty_r`. Sadly I don't have
 a coredump nor a test to reproduce it yet, but after looking at the usages
 of `GEOSisEmpty` it looks like
 https://github.com/postgis/postgis/blob/80cfa0b0c050499518138a4a972a4033f2b347b7/liblwgeom/lwgeom_geos_clean.c#L701
 could be the culprit, as it's passing the result of a function that might
 be NULL to `GEOSisEmpty`.

 I'll see if I can reproduce it somehow locally.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4275>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list