[SCM] PostGIS branch stable-3.1 updated. 3.1.11-36-gd77436131
git at osgeo.org
git at osgeo.org
Fri Jun 6 12:39:33 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.1 has been updated
via d77436131d58ad87ad4bc95bc93a3bc0878b2a07 (commit)
via 4f8df3621eaa30a342aa29a0fb2d2bdeb5ff56f5 (commit)
from cbc1c79321f6978b6c4ebe233251d3bbf9886383 (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 d77436131d58ad87ad4bc95bc93a3bc0878b2a07
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Fri Jun 6 12:38:57 2025 -0700
News entry for #5909
diff --git a/NEWS b/NEWS
index 0af227571..a0fb68d4f 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,7 @@ YYYY/MM/DD
- #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.1.12
commit 4f8df3621eaa30a342aa29a0fb2d2bdeb5ff56f5
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 | 1 +
raster/rt_pg/rtpg_statistics.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list