diff options
| author | Manu Gautam <mgautam@codeaurora.org> | 2016-04-20 09:57:30 +0530 |
|---|---|---|
| committer | Hemant Kumar <hemantk@codeaurora.org> | 2016-08-12 09:58:08 -0700 |
| commit | 915bb5f040dcc395ca28cc1b9c95dd802eab6bd5 (patch) | |
| tree | 3d56a777d2dc0874701a9a0a949587974807f4fe /tools/perf/scripts/python | |
| parent | 239e2be709b74d2bbcdbb8c37c9d1842837ef391 (diff) | |
USB: f_accessory: Fix crash if driver failed to initialize
If accessory driver setup fails then _acc_dev points to
freed memory and later drivers crashes on disconnect
due to invalid memory access. Mark _acc_dev only if
acc_setup is successful to prevent the crash.
Change-Id: Ica933a7cf710ff082c54db77f94f802b6832bedb
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
