[postgis-tickets] [PostGIS] #4709: Backend crash with TopoGeo_addLinestring against an invalid topology (2)

PostGIS trac at osgeo.org
Fri Jun 26 03:20:40 PDT 2020


#4709: Backend crash with TopoGeo_addLinestring against an invalid topology (2)
-----------------------+--------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  blocker   |  Milestone:
 Component:  topology  |    Version:  master
Resolution:            |   Keywords:
-----------------------+--------------------

Comment (by strk):

 The fix seems easy, but we need to find out how it is possible to think
 more edges than available when that's not the case. Theoretically we have
 a referencial integrity in place so it should NOT be possible for an edge
 to reference non-existing edges, but maybe such constraint is verified
 only at the end of the transaction thus leaving the door open to such
 occurrence. For a test we might intentionally lift the referencial
 integrity constraint, corrupt the topolody, call the function.

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