From: Sandro Santilli Date: Tue, 23 Jun 2009 16:46:00 +0000 (+0000) Subject: Fix dangerous use of message string as printf-like format. X-Git-Tag: 1.4.0rc1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21dda79f20d9aa45e36837ffeb66a738ee691459;p=postgis 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 --- 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); } /*