Skip to content
Commit 22c14df4 authored by Lyle Zhu's avatar Lyle Zhu Committed by Henrik Brix Andersen
Browse files

Bluetooth: Classic: SDP: Check max attr byte count for req and rsp



In the SDP specification, the `MaximumAttributeByteCount` of SA and
SSA should be in range 0x0007-0xffff. But in the current
implementation, this value is not checked both SDP server and client
sides.

Check the `MaximumAttributeByteCount` when receiving the SA or SSA
request on SDP server side.

Check the tail room of the receiving buffer before sending the SA or
SSA request on SDP client side.

Signed-off-by: default avatarLyle Zhu <lyle.zhu@nxp.com>
parent 1192dbf2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment