* IB/hfi1: Checking a kmemdup() call in get_platform_config()
@ 2019-10-12 16:40 Markus Elfring
0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2019-10-12 16:40 UTC (permalink / raw)
To: linux-rdma, Dennis Dalessandro, Doug Ledford, Jason Gunthorpe,
Mike Marciniszyn
Cc: LKML, kernel-janitors, Aditya Pakki, Kangjie Lu, Navid Emamdoost,
Stephen McCamant
Hello,
I tried another script for the semantic patch language out.
This source code analysis approach points out that the implementation
of the function “get_platform_config” contains still an unchecked call
of the function “kmemdup”.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/infiniband/hw/hfi1/platform.c?id=1c0cc5f1ae5ee5a6913704c0d75a6e99604ee30a#n187
https://elixir.bootlin.com/linux/v5.4-rc2/source/drivers/infiniband/hw/hfi1/platform.c#L187
How do you think about to improve it?
Regards,
Markus
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-12 16:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-12 16:40 IB/hfi1: Checking a kmemdup() call in get_platform_config() Markus Elfring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).