diff options
author | Patrick McHardy <kaber@trash.net> | 2011-05-16 16:45:39 +0400 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-05-16 16:45:39 +0400 |
commit | e6e4d9ed11fb1fab8b3256a3dc14d71b5e984ac4 (patch) | |
tree | ce2b0eb33f0be2524529d6b6d6dfe1469559d2d3 /net/socket.c | |
parent | 274ea0e2a4cdf18110e5931b8ecbfef6353e5293 (diff) | |
download | linux-e6e4d9ed11fb1fab8b3256a3dc14d71b5e984ac4.tar.xz |
netfilter: nf_ct_sip: fix SDP parsing in TCP SIP messages for some Cisco phones
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>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions