[postgis-tickets] [PostGIS] #3866: Server crashing sometimes from large values in twkb encoding

PostGIS trac at osgeo.org
Mon Sep 25 13:59:39 PDT 2017


#3866: Server crashing sometimes from large values in twkb encoding
----------------------+---------------------------
  Reporter:  nicklas  |      Owner:  nicklas
      Type:  defect   |     Status:  assigned
  Priority:  medium   |  Milestone:  PostGIS 2.3.4
 Component:  postgis  |    Version:  2.3.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by nicklas):

 increased the expected max size of variable integer to 16 bytes instead of
 8 bytes.

 That should always be enough since the value gets truncated by casting to
 int64_t before encoding to variable integer

 fixed in trunk r15817

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