Thread (2 messages) 2 messages, 2 authors, 2021-12-13

Re: [PATCH] Input: atmel_mxt_ts - fix double free in mxt_read_info_block

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2021-12-13 05:02:53
Also in: lkml

On Sun, Dec 12, 2021 at 08:42:57PM +0100, José Expósito wrote:
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")
Signed-off-by: José Expósito <redacted>
Applied, thank you.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help