summaryrefslogtreecommitdiff
path: root/src/parse.c
diff options
context:
space:
mode:
authorAlexander Wirt <formorer@debian.org>2013-05-18 21:48:14 +0200
committerAlexander Wirt <formorer@debian.org>2013-05-18 21:48:14 +0200
commit6b61aefbf3de71852386f5f26d60c10ef62407d3 (patch)
tree3f3bc8e11f487c990c57e8a345db2040b3e9a66c /src/parse.c
parentea27bb406e3d8fe9466ba274af38e6f540ff5bfc (diff)
downloadconntrack-tools-6b61aefbf3de71852386f5f26d60c10ef62407d3.tar.gz
conntrack-tools-6b61aefbf3de71852386f5f26d60c10ef62407d3.zip
Imported Upstream version 1.4.1
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c
index 732bc44..8ce4495 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -19,6 +19,7 @@
#include "network.h"
+#include <stdlib.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
#ifndef ssizeof
@@ -396,7 +397,7 @@ static struct exp_parser {
[NTA_EXP_FN] = {
.parse = exp_parse_str,
.exp_attr = ATTR_EXP_FN,
- .max_size = NFCT_HELPER_NAME_MAX,
+ .max_size = 32, /* XXX: artificial limit */
},
};