HID: bigben_worker() remove unneeded check on report_field
bigben_worker() checks report_field to be non-NULL. The check has been added in commit 918aa1ef ("HID: bigbenff: prevent null pointer dereference") to prevent a NULL pointer crash. However, the true root cause was a missing check for output reports, patched in commit c7bf714f ("HID: check empty report_list in bigben_probe()"), where the type-confused report list_entry was overlapping with a NULL pointer, which was then causing the crash. Fixes: 918aa1ef ("HID: bigbenff: prevent null pointer dereference") Signed-off-by:Pietro Borrello <borrello@diag.uniroma1.it> Link: https://lore.kernel.org/r/20230125-hid-unregister-leds-v4-2-7860c5763c38@diag.uniroma1.it Signed-off-by:
Benjamin Tissoires <benjamin.tissoires@redhat.com>
Loading
-
mentioned in commit 33991bbf
-
mentioned in commit 4e0649a3
-
mentioned in commit 03f1a848
-
mentioned in commit 5efb4341
-
mentioned in commit c50d4fa6
-
mentioned in commit 349b69a6
-
mentioned in commit df22efef
-
mentioned in commit fee6afa9
-
mentioned in commit 1bba06f3
-
mentioned in commit 2c7af1c5
-
mentioned in commit 4dcf5535
-
mentioned in commit 68c0eb4f
-
mentioned in commit 70c84a45
-
mentioned in commit e16e85b5
-
mentioned in commit 185ae0fe
-
mentioned in commit 34fad1c2
-
mentioned in commit 90fd01d1
-
mentioned in commit 3ede8b24
-
mentioned in commit 1fd3cdb1
Please sign in to comment