]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit78be7fd376dfdc00b39dc7f7da07b5c748348568
treec42ce096df9584d4c83b7003c7bbbd8c30be970d
parent1337f941cf5aa90f36c3d5880e941fe0c70cb837
[Bluetooth] Add packet size checks for CAPI messages

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>
net/bluetooth/cmtp/capi.c