OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ee755d
)
Fix out of bounds read in l2c_rcv_acl_data
author
Jakub Pawlowski
<jpawlowski@google.com>
Fri, 22 Jun 2018 09:57:19 +0000
(
02:57
-0700)
committer
Jakub Pawlowski
<jpawlowski@google.com>
Thu, 12 Jul 2018 20:27:31 +0000
(13:27 -0700)
Test: none
Bug:
80432895
Change-Id: I7807d00c02a84c545476e84bc1b71e0718df1f24
stack/l2cap/l2c_main.cc
patch
|
blob
|
history
diff --git
a/stack/l2cap/l2c_main.cc
b/stack/l2cap/l2c_main.cc
index
2574f88
..
53b594c
100644
(file)
--- a/
stack/l2cap/l2c_main.cc
+++ b/
stack/l2cap/l2c_main.cc
@@
-173,9
+173,6
@@
void l2c_rcv_acl_data(BT_HDR* p_msg) {
if (rcv_cid == L2CAP_CONNECTIONLESS_CID) {
/* process_connectionless_data (p_lcb); */
- uint16_t psm;
- STREAM_TO_UINT16(psm, p);
- L2CAP_TRACE_DEBUG("GOT CONNECTIONLESS DATA PSM:%d", psm);
osi_free(p_msg);
return;
}