summaryrefslogtreecommitdiff
path: root/src/local.c
diff options
context:
space:
mode:
authorAlbin Tonerre <lutin@ubuntu.com>2008-06-15 22:01:52 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-06-15 22:01:52 +0200
commitdbd1a5ced2d144f330faba448e639b8dc9d6b009 (patch)
treee6d147bb7fd46da771ea837082bc74469ae00953 /src/local.c
parent5dee97536258d3334b9c0ffeb59ec4ad076dc6c3 (diff)
downloadconntrack-tools-dbd1a5ced2d144f330faba448e639b8dc9d6b009.tar.gz
conntrack-tools-dbd1a5ced2d144f330faba448e639b8dc9d6b009.zip
fix unsecure usage of printf and include limits.h (PATH_MAX and INT_MAX)
Diffstat (limited to 'src/local.c')
-rw-r--r--src/local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local.c b/src/local.c
index e2c3599..4739e56 100644
--- a/src/local.c
+++ b/src/local.c
@@ -132,7 +132,7 @@ int do_local_client_step(int fd, void (*process)(char *buf))
void local_step(char *buf)
{
- printf(buf);
+ printf("%s", buf);
}
int do_local_request(int request,