[SCM] PostGIS branch master updated. 3.4.0rc1-759-g0f4ce4177

git at osgeo.org git at osgeo.org
Mon Nov 13 02:16:03 PST 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, master has been updated
       via  0f4ce41779f4bda70c02fb1a547bf3dc8c12a8ea (commit)
      from  85890e31010ff9d74da6f97f353507d5b73d29df (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 0f4ce41779f4bda70c02fb1a547bf3dc8c12a8ea
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Nov 13 11:15:12 2023 +0100

    Fix uninizialized variable in MVT
    
    References #5558 in master branch (3.5.0dev)

diff --git a/postgis/mvt.c b/postgis/mvt.c
index 8aa916052..85ee75305 100644
--- a/postgis/mvt.c
+++ b/postgis/mvt.c
@@ -881,7 +881,7 @@ mvt_clip_and_validate_geos(LWGEOM *lwgeom, uint8_t basic_type, uint32_t extent,
 		GBOX bgbox;
 		bgbox.xmax = bgbox.ymax = (double)extent + (double)buffer;
 		bgbox.xmin = bgbox.ymin = -(double)buffer;
-		FLAGS_SET_GEODETIC(bgbox.flags, 0);
+		bgbox.flags = 0;
 
 		ng = mvt_unsafe_clip_by_box(ng, &bgbox);
 

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

Summary of changes:
 postgis/mvt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list