netfilter: nf_conntrack_sip: fix off-by-one in compact header parsing
authorPatrick McHardy <kaber@trash.net>
Tue, 19 Jan 2010 18:06:59 +0000 (19:06 +0100)
committerPatrick McHardy <kaber@trash.net>
Tue, 19 Jan 2010 18:06:59 +0000 (19:06 +0100)
commit135d01899b1fba17045961febff7e5141db6048f
treec20ddc09321041fdafaacb209982b265fff34d58
parentdce766af541f6605fa9889892c0280bab31c66ab
netfilter: nf_conntrack_sip: fix off-by-one in compact header parsing

In a string like "v:SIP/2.0..." it was checking for !isalpha('S') when it
meant to be inspecting the ':'.

Patch by Greg Alexander <greqcs@galexander.org>

Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_sip.c