[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YbbT9fXEk3rMwF6Q@google.com>
Date: Sun, 12 Dec 2021 21:02:45 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: José Expósito <jose.exposito89@...il.com>
Cc: nick@...anahar.org, rydberg@...math.org,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: atmel_mxt_ts - fix double free in
mxt_read_info_block
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 <jose.exposito89@...il.com>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists