[SCM] PostGIS branch stable-3.4 updated. 3.4.0-67-g161337f23

git at osgeo.org git at osgeo.org
Mon Nov 13 02:40:29 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, stable-3.4 has been updated
       via  161337f239113a348795757d6c0632da91828c2e (commit)
      from  77e0a6ad21c9f33d08a63b9add49b872c5d419e9 (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 161337f239113a348795757d6c0632da91828c2e
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Nov 13 11:15:12 2023 +0100

    Fix uninizialized variable in MVT
    
    Closes #5558 in 3.4 branch (3.4.1dev)

diff --git a/NEWS b/NEWS
index 912fee65c..2271da933 100644
--- a/NEWS
+++ b/NEWS
@@ -6,7 +6,7 @@ To take advantage of all SFCGAL featurs, SFCGAL 1.4.1+ is needed.
 
 * Bug Fixes *
 
-
+ - #5558, Fix uninitialized variable in ST_AsMVTGeom (Sandro Santilli)
  - #5590, Fix script-based load of topology.sql (Sandro Santilli)
  - #5574, #5575, #5576, #5577, #5578, #5579, #5569
           Fix restore of postgis dumps since 2.1 (Sandro Santilli)
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:
 NEWS          | 2 +-
 postgis/mvt.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list