[postgis-tickets] [PostGIS] #3002: ST_GeomFromGeoJSON() Causes postgres to crash

PostGIS trac at osgeo.org
Mon Nov 24 10:27:41 PST 2014


#3002: ST_GeomFromGeoJSON() Causes postgres to crash
---------------------+------------------------------------------------------
 Reporter:  vannut   |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.1.5
Component:  postgis  |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by darkblueb):

 {{{
 addr_test_94=# SELECT
 ST_GeomFromGeoJSON('{"type":"Point","coordinates":[-48.23456,20.12345]}');
              st_geomfromgeojson
 --------------------------------------------
  01010000009279E40F061E48C0F2B0506B9A1F3440
 (1 row)

 addr_test_94=# select version();
                                                 version
 -------------------------------------------------------------------------------------------------------
  PostgreSQL 9.4rc1 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu
 4.8.2-19ubuntu1) 4.8.2, 64-bit
 (1 row)

 addr_test_94=# select postgis_full_version();

 POSTGIS="2.2.0dev r13129" GEOS="3.4.3dev-CAPI-1.8.3 r4029" 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
 (1 row)
 }}}

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