Permalink
Browse files

Fix string format vulnerability found by Coverity.

  • Loading branch information...
1 parent d145915 commit 7394a839230dfa5c605eadea8f6980b9baa18abb @gelinasc gelinasc committed May 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 util/log.c
View
@@ -974,7 +974,7 @@ int logcat(int debug_level, const char *file_path)
buf[l] = '\0';
}
- EUCALOG(debug_level, buf);
+ EUCALOG(debug_level, "%s", buf);
got += l;
}

0 comments on commit 7394a83

Please sign in to comment.