[PostGIS] #5793: Crash on Buffer of Empty array on PG17

PostGIS trac at osgeo.org
Wed Oct 9 11:26:46 PDT 2024


#5793: Crash on Buffer of Empty array on PG17
----------------------+---------------------------
  Reporter:  pramsey  |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.5.1
 Component:  postgis  |    Version:  3.4.x
Resolution:           |   Keywords:  pg17
----------------------+---------------------------
Description changed by pramsey:

Old description:

> {{{
> create extension postgis;
>
> create table tab (shape geography(GeometryZ,4326));
>
> select st_buffer(st_collect(array_agg
> (tab.shape)::geometry[])::geography, 10.0) from tab;
> }}}

New description:

 {{{
 create extension postgis;

 create table tab (shape geography);

 select st_buffer(st_collect(array_agg (tab.shape)::geometry[])::geography,
 10.0) from tab;
 }}}

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