Bug 219930

Summary: Null pointer dereference
Product: Drivers Reporter: henry (bsdhenrymartin)
Component: Video(Other)Assignee: drivers_video-other
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:

Description henry 2025-03-28 07:33:26 UTC
vedio: backlight: Add NULL check in wled_configure
    
    devm_kasprintf() can return a NULL pointer on failure,but this wled->name
    returned value in wled_configure is not checked.
    Add NULL check in wled_configure, to handle kernel NULL
    pointer dereference error. This is similar to the commit 050b23d081da.