[SCM] PostGIS branch stable-3.2 updated. 3.2.7-42-g4b5891696
git at osgeo.org
git at osgeo.org
Fri Jun 6 12:38:26 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.2 has been updated
via 4b5891696d5412af0c451c388a22edf8acec52e2 (commit)
via bf814e4cb60d109f1692fcfb6bcbd8f0e64601ae (commit)
from 88037f6928621c4a196e027454dce4f7ac562e4c (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 4b5891696d5412af0c451c388a22edf8acec52e2
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Fri Jun 6 12:37:54 2025 -0700
News entry for #5909
diff --git a/NEWS b/NEWS
index 983a6ea4c..d3dcab050 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,8 @@ Proj 4.9+ required.
- #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)
+ - #5909, ST_ValueCount crashes on empty table (Paul Ramsey)
+
PostGIS 3.2.8
2024/12/22
commit bf814e4cb60d109f1692fcfb6bcbd8f0e64601ae
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 | 2 ++
raster/rt_pg/rtpg_statistics.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list