[postgis-tickets] [PostGIS] #2293: crash on ST_DumpPoints with curved geoms

PostGIS trac at osgeo.org
Fri May 3 17:40:11 PDT 2013


#2293: crash on ST_DumpPoints with curved geoms
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  nw           
     Type:  defect   |      Status:  assigned     
 Priority:  blocker  |   Milestone:  PostGIS 2.1.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by nw):

 I have attached a patch made with 'git diff' that
 adds two tests on curved geometry to the dumppoints
 regression test, and changes the behavior to throw
 a data exception in case of unknown or unhandled
 geometries.  It passes a make check on my system,
 which is postgresql 9.2.4, on a 64 bit AMD linux
 system.  I don't think there's anything about
 the code that would cause it to behave differently
 in a different environment.

 I would be happy to have it dump out the control
 points for curved geoms, but (per suggestion) let's
 open a different ticket for that.

 Given that I tried to duplicate exactly the behavior
 of the plpgsql dumppoints function, I think that
 throwing an error here may be a change in behavior.
 In any case, the behavior should be documented.  I can
 submit a doc patch if needed and desired, though I will
 need to install some more software to build the docs.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2293#comment:11>
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