]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETFILTER]: SIP conntrack: fix skipping over user info in SIP headers
authorLars Immisch <lars@ibp.de>
Tue, 30 Jan 2007 22:24:57 +0000 (14:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jan 2007 22:24:57 +0000 (14:24 -0800)
commit7da5bfbb12e327b3a347ee3e076957cd6564eb56
treeea964be487ae79c645224237994628af491b19ec
parentfb74a8416022c033e1a950689c264c453f8f98d8
[NETFILTER]: SIP conntrack: fix skipping over user info in SIP headers

When trying to skip over the username in the Contact header, stop at the
end of the line if no @ is found to avoid mangling following headers.
We don't need to worry about continuation lines because we search inside
a SIP URI.

Fixes Netfilter Bugzilla #532.

Signed-off-by: Lars Immisch <lars@ibp.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_sip.c
net/netfilter/nf_conntrack_sip.c