aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorSzymon Janc <[email protected]>2011-02-28 14:09:50 +0100
committerGustavo F. Padovan <[email protected]>2011-03-01 22:18:17 -0300
commit8020c16a6c9fc8d6a5217be8d005f2fc558f6ab5 (patch)
tree1abf93e525caff365c8447f44bb985d5e6b2b6bc /tools/perf/scripts/python/sched-migration.py
parent30e7627219f985cd17a1ac24e0163ebcfb1277bf (diff)
Bluetooth: Fix possible NULL pointer dereference in cmd_complete
It is now possible to create command complete event without specific reply data by passing NULL as reply with len 0. Check pointer before calling memcpy to avoid undefined behaviour. Signed-off-by: Szymon Janc <[email protected]> Signed-off-by: Gustavo F. Padovan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions