[postgis-tickets] [SCM] PostGIS branch main updated. 3.1.0rc1-268-gf21c1d8

git at osgeo.org git at osgeo.org
Mon Jul 5 13:29:26 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, main has been updated
       via  f21c1d835286d980d31b5e4eb1caf1102a2b8903 (commit)
      from  df3d193fd137a82196c3afa1af1d37bb719cc756 (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 f21c1d835286d980d31b5e4eb1caf1102a2b8903
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Jul 5 13:29:22 2021 -0700

    Fix rare crasher in ST_MinPossibleValue

diff --git a/raster/rt_core/rt_pixel.c b/raster/rt_core/rt_pixel.c
index 9e6ef47..7b73a86 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:
 raster/rt_core/rt_pixel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list