[postgis-tickets] [PostGIS] #3970: Undefined behaviour in lwcollection.c and lwpoly.c

PostGIS trac at osgeo.org
Thu Jan 4 09:06:32 PST 2018


#3970: Undefined behaviour in lwcollection.c and lwpoly.c
-------------------------+---------------------------
  Reporter:  Algunenano  |      Owner:  strk
      Type:  defect      |     Status:  new
  Priority:  medium      |  Milestone:  PostGIS 2.5.0
 Component:  liblwgeom   |    Version:  trunk
Resolution:              |   Keywords:
-------------------------+---------------------------

Comment (by dbaston):

 Alternatively, should the fields in relevant structs be changed from
 signed to unsigned in liblwgeom.h?

 Is it the case that the GSERIALIZED format uses unsigned ints for these
 quantities, and then they get put into signed fields after
 deserialization?

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