[postgis-tickets] [SCM] PostGIS branch stable-3.3 updated. 3.3.2-50-geee4aebba

git at osgeo.org git at osgeo.org
Sat Apr 22 21:49:42 PDT 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, stable-3.3 has been updated
       via  eee4aebba645d5524854cf878eeb3967beb44d53 (commit)
       via  e65c475d1a0be1cf44ccf9999881b4da721f20c9 (commit)
      from  f0802afb3e71716097fc26d0dc0b6d1aedfb37f6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit eee4aebba645d5524854cf878eeb3967beb44d53
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Apr 23 00:47:18 2023 -0400

    Fix crash on ST_Union
    References #5371 for PostGIS 3.3.3

diff --git a/NEWS b/NEWS
index a1a338d26..5d0ccee62 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,7 @@ YYYY/MM/DD
   - #5363, Make ST_ClusterDBScan interruptable (Paul Ramsey)
   - #5257, #5261, #5277, #5308, #5374, Support for PG16
           (Paul Ramsey, Regina Obe, Sandro Santilli)
+  - #5371, ST_Union segfaults (PG 11-12) (Regina Obe)
 
 
 PostGIS 3.3.2
diff --git a/postgis/lwgeom_union.c b/postgis/lwgeom_union.c
index 3a0098f65..68f25aa7c 100644
--- a/postgis/lwgeom_union.c
+++ b/postgis/lwgeom_union.c
@@ -251,7 +251,8 @@ void state_combine(UnionState *state1, UnionState *state2)
 	if (list1 != NIL && list2 != NIL)
 	{
 		state1->list = list_concat(list1, list2);
-		list_free(list2);
+		/** Took out to prevent crash https://trac.osgeo.org/postgis/ticket/5371 **/
+		//list_free(list2);
 		state1->size += state2->size;
 	}
 	else if (list2 != NIL)

commit e65c475d1a0be1cf44ccf9999881b4da721f20c9
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Apr 23 00:45:51 2023 -0400

    FreeBSD bots
    - Turn off cirrus testing on 12.3
    - Disable raster testing on bessie
      (current issue with GDAL 3.6 pkg packaging)

diff --git a/.cirrus.yml b/.cirrus.yml
index 473e465d8..7923d2dda 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -38,7 +38,7 @@ task:
     - name: 13.1-RELEASE
       freebsd_instance:
         image_family: freebsd-13-1
-    - name: 12.3-RELEASE
-      freebsd_instance:
-        image_family: freebsd-12-3
+    #- name: 12.3-RELEASE
+    #  freebsd_instance:
+    #    image_family: freebsd-12-3
 
diff --git a/ci/bessie/postgis_regress.sh b/ci/bessie/postgis_regress.sh
index af4830daf..8add89303 100644
--- a/ci/bessie/postgis_regress.sh
+++ b/ci/bessie/postgis_regress.sh
@@ -5,7 +5,7 @@ set -e
 #BRANCH is passed in via jenkins which is set via webhook hook
 export PATH=${PATH}:/usr/local:/usr/local/lib:/usr/local/bin
 sh autogen.sh
-./configure --with-projdir=/usr/local --with-libiconv=/usr/local --without-interrupt-tests --with-library-minor-version
+./configure --with-projdir=/usr/local --with-libiconv=/usr/local --without-interrupt-tests --with-library-minor-version --without-raster
 #make distclean
 make
 export PGUSER=postgres

-----------------------------------------------------------------------

Summary of changes:
 .cirrus.yml                  | 6 +++---
 NEWS                         | 1 +
 ci/bessie/postgis_regress.sh | 2 +-
 postgis/lwgeom_union.c       | 3 ++-
 4 files changed, 7 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list