Hi Markus,
I agree with you, kmemdup may fail so a null check seems necessary there.
On Sun, Oct 6, 2019 at 4:33 AM Markus Elfring Markus.Elfring@web.de wrote:
I have taken another look also at the implementation of the function “imx_pd_bind”. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/driv... https://elixir.bootlin.com/linux/v5.4-rc1/source/drivers/gpu/drm/imx/paralle...
Now I find an unchecked call of the function “kmemdup” suspicious. Will this detail trigger further software development considerations?
Regards, Markus