[PATCH] drivers: video: backlight: Fix NULL Pointer Dereference in backlight_device_register()
Daniel Thompson
daniel at riscstar.com
Tue Apr 1 14:29:45 UTC 2025
Hi Haoyu
On Wed, Feb 19, 2025 at 08:29:50PM +0800, Haoyu Li wrote:
> As per Jani and Daniel's feedback, I have updated the patch so that
> the `wled->name` null check now occurs in the `wled_configure`
> function, right after the `devm_kasprintf` callsite. This should
> resolve the issue.
I'm afraid this patch got swamped in my mailbox and I missed it.
Worse, we've just been discussing and reviewing a patch for the same
issue from another developer:
https://lore.kernel.org/all/20250401091647.22784-1-bsdhenrymartin@gmail.com/
So, I just wanted to acknowlege the mistake. Sorry.
Daniel.
More information about the dri-devel
mailing list