[postgis-tickets] [PostGIS] #4519: getSRIDbySRS crash

PostGIS trac at osgeo.org
Wed Oct 2 06:45:22 PDT 2019


#4519: getSRIDbySRS crash
-------------------------+----------------------------
  Reporter:  Algunenano  |      Owner:  pramsey
      Type:  defect      |     Status:  new
  Priority:  critical    |  Milestone:  PostGIS 2.3.11
 Component:  postgis     |    Version:  2.3.x
Resolution:              |   Keywords:
-------------------------+----------------------------

Comment (by Raul Marin):

 In [changeset:"17846" 17846]:
 {{{
 #!CommitTicketReference repository="" revision="17846"
 getSRIDbySRS: Fix crash

 - Prevents stack overflow when the srs is long (query + srs > 256 chars).
 - Prevents sql injection.

 References #4519
 Closes https://github.com/postgis/postgis/pull/487
 }}}

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