aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/find_bit.c
diff options
context:
space:
mode:
authorJosé Expósito <[email protected]>2021-12-13 05:01:49 +0000
committerDmitry Torokhov <[email protected]>2021-12-13 05:08:59 +0000
commit12f247ab590a08856441efdbd351cf2cc8f60a2d (patch)
tree95be04f8bb6e441585d94dbca6dfd312463cf13c /tools/lib/find_bit.c
parentInput: goodix - fix memory leak in goodix_firmware_upload (diff)
downloadkernel-12f247ab590a08856441efdbd351cf2cc8f60a2d.tar.gz
kernel-12f247ab590a08856441efdbd351cf2cc8f60a2d.zip
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/lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions