projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68c4c13
)
Fixed dangerious use of sprintf
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 9 Jan 2009 10:40:59 +0000
(11:40 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 9 Jan 2009 10:40:59 +0000
(11:40 +0100)
index/zebrash.c
patch
|
blob
|
history
diff --git
a/index/zebrash.c
b/index/zebrash.c
index
39b71cc
..
7f827b2
100644
(file)
--- 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 */
}