Skip to content
Commit 97be86e3 authored by Prasanth KSR's avatar Prasanth KSR Committed by Hans de Goede
Browse files

platform/x86: dell-wmi-sysman: Make populate_foo_data functions more robust



1. Check acpi type before assignment of each property value

2. Add boundary check for properties count

Co-developed-by: default avatarDivya Bharathi <divya.bharathi@dell.com>
Signed-off-by: default avatarDivya Bharathi <divya.bharathi@dell.com>
Signed-off-by: default avatarPrasanth KSR <prasanth.ksr@dell.com>
Link: https://lore.kernel.org/r/20210512102530.9704-1-prasanth.ksr@dell.com


Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent c4681547
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment