[Bluetooth] Add packet size checks for CAPI messages
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Jan 2007 01:16:23 +0000 (02:16 +0100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 9 Jan 2007 08:29:53 +0000 (00:29 -0800)
With malformed packets it might be possible to overwrite internal
CMTP and CAPI data structures. This patch adds additional length
checks to prevent these kinds of remote attacks.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

No differences found