]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: nf_ct_sip: validate Content-Length in TCP SIP messages
authorPatrick McHardy <kaber@trash.net>
Mon, 16 May 2011 12:42:26 +0000 (14:42 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 00:31:52 +0000 (09:31 +0900)
commitfa8c3f668b17e2e508d14f44bbf8368b3d7ea92e
treeb075f466efe4a044f4af78fe52a7e2b9a448211f
parentd9b389384c8805635af0955549cb10012b8c4d68
netfilter: nf_ct_sip: validate Content-Length in TCP SIP messages

[ Upstream commit 274ea0e2a4cdf18110e5931b8ecbfef6353e5293 ]

Verify that the message length of a single SIP message, which is calculated
based on the Content-Length field contained in the SIP message, does not
exceed the packet boundaries.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/netfilter/nf_conntrack_sip.c