diff options
| author | Prasanth KSR <prasanth.ksr@dell.com> | 2021-05-12 15:55:30 +0530 |
|---|---|---|
| committer | Hans de Goede <hdegoede@redhat.com> | 2021-06-16 17:47:48 +0200 |
| commit | 97be86e3fef01736e7a58b4d59a587e471cb1481 (patch) | |
| tree | 341cea421c2e539b3dac675c4ec08dd473e73ae6 /tools/perf/scripts/python | |
| parent | Linux 5.13-rc3 (diff) | |
| download | linux-97be86e3fef01736e7a58b4d59a587e471cb1481.tar.gz linux-97be86e3fef01736e7a58b4d59a587e471cb1481.zip | |
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: Divya Bharathi <divya.bharathi@dell.com>
Signed-off-by: Divya Bharathi <divya.bharathi@dell.com>
Signed-off-by: Prasanth KSR <prasanth.ksr@dell.com>
Link: https://lore.kernel.org/r/20210512102530.9704-1-prasanth.ksr@dell.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
