From 21dda79f20d9aa45e36837ffeb66a738ee691459 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 23 Jun 2009 16:46:00 +0000 Subject: [PATCH] Fix dangerous use of message string as printf-like format. git-svn-id: http://svn.osgeo.org/postgis/trunk@4193 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/lwgeom_inout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgis/lwgeom_inout.c b/postgis/lwgeom_inout.c index 043c4b140..5ea0294dc 100644 --- a/postgis/lwgeom_inout.c +++ b/postgis/lwgeom_inout.c @@ -461,7 +461,7 @@ Datum LWGEOM_dropBBOX(PG_FUNCTION_ARGS) /* for the wkt parser */ void elog_ERROR(const char* string) { - elog(ERROR,string); + elog(ERROR, "%s", string); } /* -- 2.50.1