Skip to content
Snippets Groups Projects
Commit 65930cfb authored by Hui Peng's avatar Hui Peng Committed by Android (Google) Code Review
Browse files

Merge "Fix an OOB bug in remove_sdp_record" into tm-dev

parents 5d3fdb27 b9a94d52
No related branches found
No related tags found
No related merge requests found
......@@ -288,6 +288,10 @@ bt_status_t create_sdp_record(bluetooth_sdp_record* record,
bt_status_t remove_sdp_record(int record_id) {
int handle;
if (record_id >= MAX_SDP_SLOTS) {
return BT_STATUS_PARM_INVALID;
}
bluetooth_sdp_record* record;
bluetooth_sdp_types sdp_type = SDP_TYPE_RAW;
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment