[SCM] PostGIS branch master updated. 3.6.0rc2-455-g88169d2c5

git at osgeo.org git at osgeo.org
Tue Apr 14 10:34:32 PDT 2026


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, master has been updated
       via  88169d2c58bd48552512eeeeae5f6c8ecc71e22f (commit)
      from  c15f4e6f6eee690a156171d97f48baf45cbc3fc4 (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 88169d2c58bd48552512eeeeae5f6c8ecc71e22f
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Apr 14 10:34:02 2026 -0700

    Bug fixes from Maxim Korotkov

diff --git a/liblwgeom/lwgeom.c b/liblwgeom/lwgeom.c
index b1a557feb..76b68e663 100644
--- a/liblwgeom/lwgeom.c
+++ b/liblwgeom/lwgeom.c
@@ -1893,6 +1893,13 @@ int
 lwgeom_simplify_in_place(LWGEOM *geom, double epsilon, int preserve_collapsed)
 {
 	int modified = LW_FALSE;
+
+	if (!geom)
+	{
+		lwerror("NULL geometry encountered");
+		return LW_FALSE;
+	}
+
 	switch (geom->type)
 	{
 		/* No-op! Cannot simplify points or triangles */
diff --git a/liblwgeom/topo/lwgeom_topo.c b/liblwgeom/topo/lwgeom_topo.c
index 593a94ea8..7eeac3ea0 100644
--- a/liblwgeom/topo/lwgeom_topo.c
+++ b/liblwgeom/topo/lwgeom_topo.c
@@ -596,7 +596,6 @@ _lwt_AddIsoNode( LWT_TOPOLOGY* topo, LWT_ELEMID face,
       PGTOPO_BE_ERROR();
       return -1;
     }
-    if ( foundInFace == -1 ) foundInFace = 0;
   }
 
   if ( face == -1 ) {

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

Summary of changes:
 liblwgeom/lwgeom.c           | 7 +++++++
 liblwgeom/topo/lwgeom_topo.c | 1 -
 2 files changed, 7 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list