[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <0826C6D5-F275-4E25-A3EE-D397C9BC9691@holtmann.org>
Date: Fri, 10 Sep 2021 09:29:04 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: Colin King <colin.king@...onical.com>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>,
Chethan T N <chethan.tumkur.narayan@...el.com>,
Kiran K <kiran.k@...el.com>,
Srivatsa Ravishankar <ravishankar.srivatsa@...el.com>,
linux-bluetooth <linux-bluetooth@...r.kernel.org>,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Bluetooth: btintel: Fix incorrect out of memory check
Hi Colin,
> Currently *ven_data is being assigned the return from a kmalloc call but
> the out-of-memory check is checking ven_data and not *ven_data. Fix this
> by adding the missing dereference * operator,
>
> Addresses-Coverity: ("Dereference null return")
> Fixes: 70dd978952bc ("Bluetooth: btintel: Define a callback to fetch codec config data")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
> drivers/bluetooth/btintel.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists