[postgis-tickets] [PostGIS] #4699: crash on null input to ST_Union(raster, otherarg)

PostGIS trac at osgeo.org
Sun Jun 7 00:34:00 PDT 2020


#4699: crash on null input to ST_Union(raster, otherarg)
----------------------------------+-------------------------
 Reporter:  jcasanov              |      Owner:  Bborie Park
     Type:  defect                |     Status:  new
 Priority:  medium                |  Milestone:
Component:  raster                |    Version:  2.5.x
 Keywords:  st_union raster null  |
----------------------------------+-------------------------
 st_union() crash in any of the more-than-one argument variant.

 select st_union(null::raster); -- does not fail
 select st_union(null::raster, 1); -- crash the server

 attached is the backtrace of the query that crash, showed above



 postgres version
 --------------------------
  PostgreSQL 12.3 (Debian 12.3-1.pgdg100+1) on x86_64-pc-linux-gnu,
 compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit

 postgis full version
 --------------------------
  POSTGIS="2.5.4" [EXTENSION] PGSQL="120" GEOS="3.7.1-CAPI-1.11.1
 27a5e771" PROJ="Rel. 5.2.0, September 15th, 2018" GDAL="GDAL 2.4.0,
 released 2018/12/14" LIBXML="2.9.4" LIBJSON="0.12.1"
 LIBPROTOBUF="1.3.1" RASTER

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