[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f2960ada-7e06-33d1-1533-78989a3e1d2a@web.de>
Date: Fri, 11 Oct 2019 15:00:13 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Aditya Pakki <pakki001@....edu>,
Andreas Noever <andreas.noever@...il.com>,
Kangjie Lu <kjlu@....edu>,
Michael Jamet <michael.jamet@...el.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Yehezkel Bernat <YehezkelShB@...il.com>,
kernel-janitors@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: [v3] thunderbolt: Fix to check the return value of kmemdup
> uuid in add_switch is allocted via kmemdup which can fail.
I have tried another script for the semantic patch language out.
This source code analysis approach points out that the implementation
of the function “icm_handle_event” contains still an unchecked call
of the function “kmemdup”.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/thunderbolt/icm.c?id=3cdb9446a117d5d63af823bde6fe6babc312e77b#n1627
https://elixir.bootlin.com/linux/v5.4-rc2/source/drivers/thunderbolt/icm.c#L1627
How do you think about to improve it?
Regards,
Markus
Powered by blists - more mailing lists