Skip to content
Commit 7da5bfbb authored by Lars Immisch's avatar Lars Immisch Committed by David S. Miller
Browse files

[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: default avatarLars Immisch <lars@ibp.de>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fb74a841
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