[SCM] PostGIS branch stable-3.4 updated. 3.4.4-31-g923ad03ad
git at osgeo.org
git at osgeo.org
Fri Jun 6 12:36:48 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.4 has been updated
via 923ad03add072d8a00341eae3bb3a1f45a4e47f4 (commit)
via b501ed70924330d3ee222a7ceeaa5794dc196387 (commit)
from 9578b9e81382e1d24f4be07056bafeb7ec127406 (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 923ad03add072d8a00341eae3bb3a1f45a4e47f4
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Fri Jun 6 12:30:39 2025 -0700
News entry for #5909
diff --git a/NEWS b/NEWS
index cdf98100f..088e29d87 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,8 @@ Proj 6.1+ 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.4.4
2024/12/22
commit b501ed70924330d3ee222a7ceeaa5794dc196387
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