Commit c4acad8d authored by Nicolas Bouliane's avatar Nicolas Bouliane Committed by Patrick McHardy

[NETFILTER]: Fix ip_conntrack_ftp crash with debugging enabled

Signed-off-by: default avatarNicolas Bouliane <nib@cookinglinux.org>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent 27c50a78
...@@ -373,10 +373,9 @@ static int help(struct sk_buff **pskb, ...@@ -373,10 +373,9 @@ static int help(struct sk_buff **pskb,
goto out_update_nl; goto out_update_nl;
} }
DEBUGP("conntrack_ftp: match `%.*s' (%u bytes at %u)\n", DEBUGP("conntrack_ftp: match `%s' (%u bytes at %u)\n",
(int)matchlen, data + matchoff, fb_ptr + matchoff, matchlen, ntohl(th->seq) + matchoff);
matchlen, ntohl(th->seq) + matchoff);
/* Allocate expectation which will be inserted */ /* Allocate expectation which will be inserted */
exp = ip_conntrack_expect_alloc(); exp = ip_conntrack_expect_alloc();
if (exp == NULL) { if (exp == NULL) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment