[SCM] PostGIS branch stable-3.4 updated. 3.4.5-25-g3fef397f3

git at osgeo.org git at osgeo.org
Tue Apr 14 10:35:06 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, stable-3.4 has been updated
       via  3fef397f31b2d68b55683e8f4edfcc56fc7b7f2d (commit)
      from  399e2f18c249ea272ffefd974c110a4c69a213c4 (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 3fef397f31b2d68b55683e8f4edfcc56fc7b7f2d
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 1dd07d5da..a302faebf 100644
--- a/liblwgeom/lwgeom.c
+++ b/liblwgeom/lwgeom.c
@@ -1760,6 +1760,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/lwgeom_topo.c b/liblwgeom/lwgeom_topo.c
index 27900010f..b0363fe2d 100644
--- a/liblwgeom/lwgeom_topo.c
+++ b/liblwgeom/lwgeom_topo.c
@@ -561,7 +561,6 @@ _lwt_AddIsoNode( LWT_TOPOLOGY* topo, LWT_ELEMID face,
       lwerror("Backend error: %s", lwt_be_lastErrorMessage(topo->be_iface));
       return -1;
     }
-    if ( foundInFace == -1 ) foundInFace = 0;
   }
 
   if ( face == -1 ) {

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list