[postgis-tickets] [PostGIS] #4005: Undefined behaviour in lwprint_double

PostGIS trac at osgeo.org
Fri Jan 26 05:26:15 PST 2018


#4005: Undefined behaviour in lwprint_double
------------------------+---------------------------
 Reporter:  Algunenano  |      Owner:  strk
     Type:  defect      |     Status:  new
 Priority:  medium      |  Milestone:  PostGIS 2.5.0
Component:  liblwgeom   |    Version:  trunk
 Keywords:              |
------------------------+---------------------------
 If infinity is passed undefined behaviour is triggered:
 {{{
 lwprint.c:491:12: runtime error: inf is outside the range of representable
 values of type 'int'
 }}}

 Github PR: https://github.com/postgis/postgis/pull/200

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