Bug#728724: postgis: segmentation fault in ST_GeomFromGeoJSON with empty list of coordinates

Jérémy Lal kapouer at melix.org
Mon Nov 4 17:44:25 UTC 2013


Package: postgis
Version: 2.1.0-4
Severity: normal

Hi,
this simple query (no setup needed):

SELECT ST_GeomFromGeoJSON('{"type":"Polygon","bbox":[1017529.72,5087648.60,1095801.24,5165920.12], "coordinates":[]}')::box2d;

crashes the server.

Regards,
Jérémy.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (650, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12.0-rc5 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages postgis depends on:
ii  libc6            2.17-93
ii  libgdal1         1.9.0-3.1+b2
ii  libgeos-c1       3.3.3-1.1
ii  libglib2.0-0     2.37.6-1
ii  libgtk2.0-0      2.24.22-1
ii  liblwgeom-2.1.0  2.1.0-4
ii  libpq5           9.3.1-1

postgis recommends no packages.

Versions of packages postgis suggests:
ii  postgresql-9.3-postgis-2.1  2.1.0-4

-- no debconf information



More information about the Pkg-grass-devel mailing list