[postgis-tickets] [PostGIS] #4535: buffer overflow WKB parser

PostGIS trac at osgeo.org
Thu Oct 10 09:58:47 PDT 2019


#4535: buffer overflow WKB parser
----------------------+---------------------------
  Reporter:  komzpa   |      Owner:  pramsey
      Type:  defect   |     Status:  closed
  Priority:  medium   |  Milestone:  PostGIS 3.0.0
 Component:  postgis  |    Version:  2.5.x
Resolution:  fixed    |   Keywords:
----------------------+---------------------------
Changes (by Raul Marin):

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


Comment:

 In [changeset:"17904" 17904]:
 {{{
 #!CommitTicketReference repository="" revision="17904"
 WKB: Avoid buffer overflow

 This only happens when not running under PG context, as
 lwerror continues execution and that means that even after
 detecting there isn't enough bytes still try to read from the buffer

 Closes #4535
 Closes https://github.com/postgis/postgis/pull/495
 }}}

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