summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorThomas Jarosch <thomas.jarosch@intra2net.com>2019-08-21 16:14:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-21 07:18:36 +0200
commit16986c7cf8b5fc2ca5bcf6b3dc84c4e3dac504e1 (patch)
treedc9b767dbc7f3045d7fc9566aadeb21ca1cb83ae /fs
parent0dec70d3c24931cbc159c2c08ef1b7669e714c6d (diff)
downloadlinux-stable-16986c7cf8b5fc2ca5bcf6b3dc84c4e3dac504e1.tar.gz
linux-stable-16986c7cf8b5fc2ca5bcf6b3dc84c4e3dac504e1.tar.bz2
linux-stable-16986c7cf8b5fc2ca5bcf6b3dc84c4e3dac504e1.zip
netfilter: nf_conntrack_ftp: Fix debug output
[ Upstream commit 3a069024d371125227de3ac8fa74223fcf473520 ] The find_pattern() debug output was printing the 'skip' character. This can be a NULL-byte and messes up further pr_debug() output. Output without the fix: kernel: nf_conntrack_ftp: Pattern matches! kernel: nf_conntrack_ftp: Skipped up to `<7>nf_conntrack_ftp: find_pattern `PORT': dlen = 8 kernel: nf_conntrack_ftp: find_pattern `EPRT': dlen = 8 Output with the fix: kernel: nf_conntrack_ftp: Pattern matches! kernel: nf_conntrack_ftp: Skipped up to 0x0 delimiter! kernel: nf_conntrack_ftp: Match succeeded! kernel: nf_conntrack_ftp: conntrack_ftp: match `172,17,0,100,200,207' (20 bytes at 4150681645) kernel: nf_conntrack_ftp: find_pattern `PORT': dlen = 8 Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions