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

PostGIS trac at osgeo.org
Tue Apr 24 04:07:55 PDT 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.5.0
 Component:  postgis  |    Version:  2.2.x
Resolution:           |   Keywords:  ST_CurveToLine
----------------------+----------------------------

Comment (by strk):

 It looks like ST_CurveToLine is uninterruptible too, which is something we
 should look at (maybe in a separate ticket).

 Smallest reduction (single-arc):
 {{{
 select ST_CurveToLine('CIRCULARSTRING
 (
  2730145.59567509 1278364.89730345,
  2730145.59567514 1278364.90030341,
  2730145.59667517 1278364.90330337
 )'::geometry, 1, 1, 1);
 }}}

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