[postgis-tickets] [PostGIS] #4031: ST_CurveToLine with small tolerance sometimes causes invalid memory alloc request size

PostGIS trac at osgeo.org
Wed Feb 28 05:19:28 PST 2018


#4031: ST_CurveToLine with small tolerance sometimes causes invalid memory alloc
request size
----------------------+----------------------------
  Reporter:  kkgeodk  |      Owner:  strk
      Type:  defect   |     Status:  assigned
  Priority:  medium   |  Milestone:  PostGIS 2.4.4
 Component:  postgis  |    Version:  2.2.x
Resolution:           |   Keywords:  ST_CurveToLine
----------------------+----------------------------

Comment (by strk):

 The smaller error tolerance, the higher number of segments will be
 required to approximate the line. It may of course be too many.
 How do you suggest to deal with this ?
 Similar issue exists with ST_Segmentize (for example).

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