[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.3-21-g3abe89a

git at osgeo.org git at osgeo.org
Mon Jul 5 12:46:20 PDT 2021


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.0 has been updated
       via  3abe89a6a54d68f9dcde978b5d39889b27a431f2 (commit)
       via  a4d9beba18cc7329babaf2d7a7797d78ba2aae02 (commit)
      from  a967f9d937afce453a46d3ff0cb78f6b855706ad (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 3abe89a6a54d68f9dcde978b5d39889b27a431f2
Merge: a4d9beb a967f9d
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Jul 5 12:46:16 2021 -0700

    Merge branch 'stable-3.0' of https://git.osgeo.org/gitea/postgis/postgis into stable-3.0


commit a4d9beba18cc7329babaf2d7a7797d78ba2aae02
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Jul 5 12:45:56 2021 -0700

    Fix rare crash in st_minpossiblevalue(), references #4918

diff --git a/NEWS b/NEWS
index 934f625..ad72293 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ PostGIS 3.0.4dev
   - #4853, DBSCAN cluster not formed when recordset length equal to minPoints (Dan Baston)
   - #4844, Repair axis order handling for polar coordinate systems (Paul Ramsey)
   - #4863, Update bboxes after scale/affine coordinate changes (Paul Ramsey)
+  - #4918, Fix rare crash in st_minpossiblevalue() (Paul Ramsey)
 
 
 PostGIS 3.0.3
diff --git a/raster/rt_core/rt_pixel.c b/raster/rt_core/rt_pixel.c
index f143b64..bf4e9b1 100644
--- a/raster/rt_core/rt_pixel.c
+++ b/raster/rt_core/rt_pixel.c
@@ -78,7 +78,7 @@ rt_pixtype_alignment(rt_pixtype pixtype) {
 
 rt_pixtype
 rt_pixtype_index_from_name(const char* pixname) {
-	assert(pixname && strlen(pixname) > 0);
+	assert(pixname);
 
 	if (strcmp(pixname, "1BB") == 0)
 		return PT_1BB;

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

Summary of changes:
 NEWS                      | 1 +
 raster/rt_core/rt_pixel.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list