[postgis-tickets] [PostGIS] #5088: Memory corruption in mvt_agg_transfn

PostGIS trac at osgeo.org
Sat Apr 30 13:41:20 PDT 2022


#5088: Memory corruption in mvt_agg_transfn
----------------------+---------------------------
  Reporter:  multun   |      Owner:  pramsey
      Type:  defect   |     Status:  closed
  Priority:  high     |  Milestone:  PostGIS 3.3.0
 Component:  postgis  |    Version:  3.2.x
Resolution:  fixed    |   Keywords:
----------------------+---------------------------
Changes (by Regina Obe <lr@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8176e19e224cfea712acee283b23cfe95bb2cd3d/git"
 8176e19e/git]:
 {{{
 #!CommitTicketReference repository="git"
 revision="8176e19e224cfea712acee283b23cfe95bb2cd3d"
 mvt: introduce feature_builder and fix a buffer overflow

 The previous code tried to manually handle resizing the tags array
 whenever used, but failed to keep it properly sized.

 This commit adds an abstraction over unfinished features, which
 enables centralized array size bookkeeping.

 Closes https://git.osgeo.org/gitea/postgis/postgis/pulls/92 for PostGIS
 3.3.0
 Closes #5088 for PostGIS 3.3.0
 }}}

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