[SCM] PostGIS branch stable-3.3 updated. 3.3.7-40-ged55e6b63
git at osgeo.org
git at osgeo.org
Fri Jun 6 12:36:38 PDT 2025
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.3 has been updated
via ed55e6b63f9bca72bb4c688ddd832357389225f6 (commit)
via 6bdbf282ed50b0aa709a8cadbc20f1d891223858 (commit)
from 53150a2c2bd56df536b964b9cad2ba39713d0231 (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 ed55e6b63f9bca72bb4c688ddd832357389225f6
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Fri Jun 6 12:35:49 2025 -0700
News entry for #5909
diff --git a/NEWS b/NEWS
index 1e1a83fa5..c13434ece 100644
--- a/NEWS
+++ b/NEWS
@@ -15,7 +15,8 @@ Proj 4.9+ required.
- #5885, Fix documentation about grid-based overlay operations (Sandro Santilli)
- #5921, Crash freeing uninitialized pointer (Arsenii Mukhin)
- #5912, Crash on GML with xlink and no prefix (Paul Ramsey)
-- #5905, Crash on deeply nested geometries (Paul Ramsey)
+ - #5905, Crash on deeply nested geometries (Paul Ramsey)
+ - #5909, ST_ValueCount crashes on empty table (Paul Ramsey)
PostGIS 3.3.8
commit 6bdbf282ed50b0aa709a8cadbc20f1d891223858
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Fri Jun 6 12:28:24 2025 -0700
ST_ValueCount crashes on empty table, references #5909
diff --git a/raster/rt_pg/rtpg_statistics.c b/raster/rt_pg/rtpg_statistics.c
index 4db8f7295..bffdf0e6b 100644
--- a/raster/rt_pg/rtpg_statistics.c
+++ b/raster/rt_pg/rtpg_statistics.c
@@ -2073,7 +2073,7 @@ Datum RASTER_valueCountCoverage(PG_FUNCTION_ARGS) {
}
/* do when there is no more left */
else {
- pfree(covvcnts2);
+ if (covvcnts2) pfree(covvcnts2);
SRF_RETURN_DONE(funcctx);
}
}
-----------------------------------------------------------------------
Summary of changes:
NEWS | 3 ++-
raster/rt_pg/rtpg_statistics.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list