* pinctrl: lantiq: Checking two kmemdup() calls in ltq_pinctrl_dt_subnode_to_map()
@ 2019-10-12 18:04 Markus Elfring
0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2019-10-12 18:04 UTC (permalink / raw)
To: linux-gpio, Linus Walleij
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 “ltq_pinctrl_dt_subnode_to_map” contains still
two unchecked calls of the function “kmemdup”.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pinctrl/pinctrl-lantiq.c?id=1c0cc5f1ae5ee5a6913704c0d75a6e99604ee30a#n116
https://elixir.bootlin.com/linux/v5.4-rc2/source/drivers/gpu/drm/nouveau/nouveau_connector.c#L476
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 18:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-12 18:04 pinctrl: lantiq: Checking two kmemdup() calls in ltq_pinctrl_dt_subnode_to_map() Markus Elfring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®