[PATCH] clkdev: fix potential NULL pointer dereference
Russell King (Oracle)
linux at armlinux.org.uk
Tue May 7 02:34:42 PDT 2024
On Tue, May 07, 2024 at 08:44:34AM +0200, Marek Szyprowski wrote:
> dev_fmt argument is optional, so avoid dereferencing it unconditionally.
>
> Fixes: 4d11c62ca8d7 ("clkdev: report over-sized strings when creating clkdev entries")
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
Please put this in the patch system so it can be merged along with the
change that created the problem. Thanks.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
More information about the linux-arm-kernel
mailing list