Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_packages_modules_Bluetooth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LMODroid
platform_packages_modules_Bluetooth
Commits
8b062828
Commit
8b062828
authored
2 years ago
by
Hui Peng
Committed by
Android (Google) Code Review
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix an OOB bug in btm_acl_process_sca_cmpl_pkt" into tm-dev
parents
1ee290b8
4b008a2a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
system/stack/acl/btm_acl.cc
+5
-0
5 additions, 0 deletions
system/stack/acl/btm_acl.cc
with
5 additions
and
0 deletions
system/stack/acl/btm_acl.cc
+
5
−
0
View file @
8b062828
...
...
@@ -340,6 +340,11 @@ void btm_acl_process_sca_cmpl_pkt(uint8_t len, uint8_t* data) {
uint8_t
sca
;
uint8_t
status
;
if
(
len
<
4
)
{
LOG_WARN
(
"Malformatted packet, not containing enough data"
);
return
;
}
STREAM_TO_UINT8
(
status
,
data
);
if
(
status
!=
HCI_SUCCESS
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment