[postgis-tickets] [PostGIS] #3101: Buffer overflow in pgsql2shp

PostGIS trac at osgeo.org
Mon Jul 10 09:23:45 PDT 2017


#3101: Buffer overflow in pgsql2shp
-------------------------+---------------------------
  Reporter:  gabrimonfa  |      Owner:  pramsey
      Type:  defect      |     Status:  reopened
  Priority:  high        |  Milestone:  PostGIS 2.1.8
 Component:  postgis     |    Version:  2.2.x
Resolution:              |   Keywords:
-------------------------+---------------------------
Changes (by gabrimonfa):

 * status:  closed => reopened
 * version:  2.1.x => 2.2.x
 * resolution:  worksforme =>


Comment:

 This issue is still present, in my setup, in the following versions:
   * OS: ubuntu Xenial
   * postgis client version 2.3.2+dfsg-1~exp2.pgdg16.04


   * postgis_full_version: POSTGIS="2.3.2 r15302" GEOS="3.4.2-CAPI-1.8.2
 r3921" PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.10.1, released
 2013/08/26" LIBXML="2.9.1" LIBJSON="0.11.99" RASTER
   * PostgreSQL 9.5.7 on x86_64-pc-linux-gnu, compiled by gcc (Debian
 4.9.2-10) 4.9.2, 64-bit

 It also happens on
   * postgis_full_version: POSTGIS="2.3.2 r15302" GEOS="3.5.0-CAPI-1.9.0
 r4084" PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.9.2, released
 2012/10/08" LIBXML="2.7.6"
   * PostgreSQL 9.6.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7
 20120313 (Red Hat 4.4.7-18), 64-bit

 It's very easy to reproduce, just execute the proposed self contained test
 against a db of your choice.\\
 In my setup it crashes all the times.

 It may also be a problem of my postgis binary, it comes from pgdg packages
 for debian/ubuntu.

 May I ask you to check again?

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