netfilter: nf_ct_sip: fix SDP parsing in TCP SIP messages for some Cisco phones
authorPatrick McHardy <kaber@trash.net>
Mon, 16 May 2011 12:45:39 +0000 (14:45 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 16 May 2011 12:45:39 +0000 (14:45 +0200)
Some Cisco phones do not place the Content-Length field at the end of the
SIP message. This is valid, due to a misunderstanding of the specification
the parser expects the SDP body to start directly after the Content-Length
field. Fix the parser to scan for \r\n\r\n to locate the beginning of the
SDP body.

Reported-by: Teresa Kang <teresa_kang@gemtek.com.tw>
Signed-off-by: Patrick McHardy <kaber@trash.net>

No differences found