From feee4a7d1b539d294ab52ffb51200850f08be52f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 9 Jan 2009 11:40:59 +0100 Subject: [PATCH] Fixed dangerious use of sprintf --- index/zebrash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index/zebrash.c b/index/zebrash.c index 39b71cc..7f827b2 100644 --- a/index/zebrash.c +++ b/index/zebrash.c @@ -263,7 +263,7 @@ static int cmd_logf( char *args[], WRBUF outbuff) i=2; else lev=YLOG_LOG; /* this is in the default set!*/ - yaz_log( lev, restargs(args,i)); + yaz_log( lev, "%s", restargs(args,i)); return 0; /* ok */ } -- 1.7.10.4