aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-06-25 18:00:09 +0300
committerMarcel Holtmann <[email protected]>2021-07-22 16:13:09 +0200
commit59da0b38bc2ea570ede23a3332ecb3e7574ce6b2 (patch)
treea0bc2da6721b8ebb3e1094a7bb6af2a03c6c7210 /tools/perf/scripts/python
parent2cdff8ca4c8414401bcbc9701229e971797b1340 (diff)
Bluetooth: sco: prevent information leak in sco_conn_defer_accept()
Smatch complains that some of these struct members are not initialized leading to a stack information disclosure: net/bluetooth/sco.c:778 sco_conn_defer_accept() warn: check that 'cp.retrans_effort' doesn't leak information This seems like a valid warning. I've added a default case to fix this issue. Fixes: 2f69a82acf6f ("Bluetooth: Use voice setting in deferred SCO connection request") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions