diff options
author | José Expósito <[email protected]> | 2021-12-12 21:01:49 -0800 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2021-12-12 21:08:59 -0800 |
commit | 12f247ab590a08856441efdbd351cf2cc8f60a2d (patch) | |
tree | 95be04f8bb6e441585d94dbca6dfd312463cf13c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3fd6e12a401ead0345e4b7e6a73e117f0713e0c1 (diff) |
Input: atmel_mxt_ts - fix double free in mxt_read_info_block
The "id_buf" buffer is stored in "data->raw_info_block" and freed by
"mxt_free_object_table" in case of error.
Return instead of jumping to avoid a double free.
Addresses-Coverity-ID: 1474582 ("Double free")
Fixes: 068bdb67ef74 ("Input: atmel_mxt_ts - fix the firmware update")
Signed-off-by: José Expósito <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions