[postgis-tickets] [PostGIS] #4331: ST_3DMakeBox crashes on POINT EMPTY

PostGIS trac at osgeo.org
Mon Feb 25 03:29:28 PST 2019


#4331: ST_3DMakeBox crashes on POINT EMPTY
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.0.0
 Component:  postgis  |    Version:  2.4.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by komzpa):

 It's this assert I left when debugging 3D intersection:

 https://github.com/postgis/postgis/blob/3abc9a25c3f2c03d0adf24fb96b65336493bb170/liblwgeom/lwgeom_api.c#L222

 We can blindly pull out this assert, or we can do something to make the
 out-of-bounds access not happen in EMPTY. Does a 3DMakeBox make sense on
 top of two empty points? What is really expected in this case?

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4331#comment:3>
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