[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha1-43-g7e70fc8

git at osgeo.org git at osgeo.org
Fri Mar 20 07:51:10 PDT 2020


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  7e70fc8c335f4bd213420b7ee85ae6ab09e386fb (commit)
      from  6a23a5dbb5ead3ff71a832ce92eb973b31fbcd7d (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 7e70fc8c335f4bd213420b7ee85ae6ab09e386fb
Author: Raúl Marín <git at rmr.ninja>
Date:   Fri Mar 20 15:50:56 2020 +0100

    Wagyu: Fix issue introduced in previous commit

diff --git a/deps/wagyu/lwgeom_wagyu.cpp b/deps/wagyu/lwgeom_wagyu.cpp
index 60efdf4..d4efc14 100644
--- a/deps/wagyu/lwgeom_wagyu.cpp
+++ b/deps/wagyu/lwgeom_wagyu.cpp
@@ -264,7 +264,8 @@ __lwgeom_wagyu_clip_by_box(const LWGEOM *geom, const GBOX *bbox)
 	clipper.execute(wagyu::clip_type_union, solution, wagyu::fill_type_even_odd, wagyu::fill_type_even_odd);
 
 	LWGEOM *g = wgmpoly_to_lwgeom(solution);
-	g->srid = geom->srid;
+	if (g)
+		g->srid = geom->srid;
 
 	return g;
 }

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

Summary of changes:
 deps/wagyu/lwgeom_wagyu.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list