[postgis-tickets] [PostGIS] #4031: ST_CurveToLine with small tolerance sometimes causes invalid memory alloc request size
PostGIS
trac at osgeo.org
Tue Apr 24 03:57:47 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):
Reduced testcase:
{{{
select ST_CurveToLine('CIRCULARSTRING
(2730145.49367034 1278364.50230843,
2730145.54567269 1278364.69930594,
2730145.59567509 1278364.89730345,
2730145.59567514 1278364.90030341,
2730145.59667517 1278364.90330337,
2730145.64567761 1278365.10230086,
2730145.6916793 1278365.30129822
)'::geometry, 1, 1, 1);
}}}
NOT requesting symmetric output quickly returns a result.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4031#comment:6>
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