[postgis-tickets] [SCM] PostGIS branch stable-3.2 updated. 3.2.4-5-g3ac59f7ab
git at osgeo.org
git at osgeo.org
Mon Feb 13 15:11:10 PST 2023
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 3ac59f7ab56cad9585bafcfb3fd88b50ceebaab7 (commit)
via 20194fc5421793ac661abc7e7659c4e74bed5305 (commit)
from e3298c042adaa081a1a4bc3a66cf46a243e50032 (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 3ac59f7ab56cad9585bafcfb3fd88b50ceebaab7
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Mon Feb 13 15:11:05 2023 -0800
News for #5313
diff --git a/NEWS b/NEWS
index 684be58d9..74800dc7a 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,8 @@ Proj 6.1+, and PostgreSQL 14+.
* Bug Fixes *
- #5106, Fix segfault in ST_RemEdgeNewFace/ST_RemEdgeModFace
when no edge side-faces are found (Sandro Santilli)
+ - #5313, Fix memory access issue in ST_InterpolateRaster (Paul Ramsey)
+
PostGIS 3.2.4
2022/11/12
commit 20194fc5421793ac661abc7e7659c4e74bed5305
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Mon Feb 13 15:06:25 2023 -0800
Detoast Datum before casting result to pointer, references #5313
diff --git a/raster/rt_pg/rtpg_gdal.c b/raster/rt_pg/rtpg_gdal.c
index 095f4c8dd..9a982f36e 100644
--- a/raster/rt_pg/rtpg_gdal.c
+++ b/raster/rt_pg/rtpg_gdal.c
@@ -672,7 +672,7 @@ Datum RASTER_InterpolateRaster(PG_FUNCTION_ARGS)
LWGEOM *lwgeom;
double *xcoords, *ycoords, *zcoords;
- GSERIALIZED *gser = (GSERIALIZED*)PG_GETARG_POINTER(0);
+ GSERIALIZED *gser = (GSERIALIZED*)PG_DETOAST_DATUM(PG_GETARG_DATUM(0));
/* Z value is required to drive the grid heights */
if (!gserialized_has_z(gser))
-----------------------------------------------------------------------
Summary of changes:
NEWS | 2 ++
raster/rt_pg/rtpg_gdal.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list