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: NDivya Bharathi <divya.bharathi@dell.com> Signed-off-by: NDivya Bharathi <divya.bharathi@dell.com> Signed-off-by: NPrasanth KSR <prasanth.ksr@dell.com> Link: https://lore.kernel.org/r/20210512102530.9704-1-prasanth.ksr@dell.comReviewed-by: NHans de Goede <hdegoede@redhat.com> Signed-off-by: NHans de Goede <hdegoede@redhat.com>
Showing
想要评论请 注册 或 登录