[postgis-tickets] [PostGIS] #3874: Error: lw_dist2d_pt_arc division by zero

PostGIS trac at osgeo.org
Wed Oct 4 01:45:10 PDT 2017


#3874: Error: lw_dist2d_pt_arc division by zero
------------------------+---------------------------
 Reporter:  algunenano  |      Owner:  pramsey
     Type:  defect      |     Status:  new
 Priority:  medium      |  Milestone:  PostGIS 2.4.1
Component:  postgis     |    Version:  2.4.x
 Keywords:              |
------------------------+---------------------------
 In {{{lw_dist2d_pt_arc}}}, if the point is in the center of the arc a
 division by zero happens which leads to undefined behaviour.

 I've created a PR in Github with the test and changes needed to fix it:
 https://github.com/postgis/postgis/pull/147

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