commit | 0fba2558cbb3fae3a09147b7d6e18a6204204e0e | [log] [tgz] |
---|---|---|
author | Mat Martineau <mathewm@codeaurora.org> | Wed Sep 08 10:05:26 2010 -0700 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Tue Oct 12 12:44:51 2010 -0300 |
tree | 48f5424c4b3530a2b39f5e5bc164db194ae10ae3 | |
parent | 08601469a5aac8b3453d8aca0b8f9bd8dfdae12c [diff] |
Bluetooth: Validate PSM values in calls to connect() and bind() Valid L2CAP PSMs are odd numbers, and the least significant bit of the most significant byte must be 0. Signed-off-by: Mat Martineau <mathewm@codeaurora.org> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>