diff options
author | 2017-06-15 13:46:01 +0200 | |
---|---|---|
committer | 2017-06-15 13:46:01 +0200 | |
commit | a814c3597a6b6040e2ef9459748081a6d5b7312d (patch) | |
tree | 2151e7cb68fdc59acb066c603c311480e8540225 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | firmware: dmi: Fix permissions of product_family (diff) | |
download | wireguard-linux-a814c3597a6b6040e2ef9459748081a6d5b7312d.tar.xz wireguard-linux-a814c3597a6b6040e2ef9459748081a6d5b7312d.zip |
firmware: dmi_scan: Check DMI structure length
Before accessing DMI data to record it for later, we should ensure
that the DMI structures are large enough to contain the data in
question.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions