[SCM] PostGIS branch stable-3.5 updated. 3.5.3-15-g93eab661c
git at osgeo.org
git at osgeo.org
Fri Jun 6 15:05:42 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.5 has been updated
via 93eab661c2071fe2333e62e6f3d9c77c3904108b (commit)
via 0b8d410f374716d35f2d1527c804faca72c1d0d0 (commit)
from 3b03910cae49491f0832b3c643b88e12a328dc7e (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 93eab661c2071fe2333e62e6f3d9c77c3904108b
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Fri Jun 6 15:05:37 2025 -0700
News entry for #5917
diff --git a/NEWS b/NEWS
index 1ff810d28..468fcf76c 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,7 @@ PostgreSQL 12-18 required. GEOS 3.8+ required. Proj 6.1+ required.
- #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)
+- #5917, ST_Relate becomes unresponsive (Paul Ramsey)
PostGIS 3.5.3
commit 0b8d410f374716d35f2d1527c804faca72c1d0d0
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Fri Jun 6 15:04:41 2025 -0700
ST_Relate becomes unresponsive, references #5917
diff --git a/postgis/lwgeom_geos_predicates.c b/postgis/lwgeom_geos_predicates.c
index 9074d4ff4..a97d82216 100644
--- a/postgis/lwgeom_geos_predicates.c
+++ b/postgis/lwgeom_geos_predicates.c
@@ -888,7 +888,10 @@ Datum relate_pattern(PG_FUNCTION_ARGS)
SHARED_GSERIALIZED *shared_geom2 = ToastCacheGetGeometry(fcinfo, 1);
const GSERIALIZED *geom1 = shared_gserialized_get(shared_geom1);
const GSERIALIZED *geom2 = shared_gserialized_get(shared_geom2);
- text *patt = PG_GETARG_TEXT_P(2);
+
+ /* Ensure DE9IM pattern is no more than 9 chars */
+ text *patt = DatumGetTextP(DirectFunctionCall2(text_left,
+ PG_GETARG_DATUM(2), Int32GetDatum(9)));
char *pstr = text_to_cstring(patt);
char result;
size_t i;
-----------------------------------------------------------------------
Summary of changes:
NEWS | 1 +
postgis/lwgeom_geos_predicates.c | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list