summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2024-04-30 19:29:32 +0300
committerJean Delvare <jdelvare@suse.de>2024-04-30 19:29:32 +0300
commit0ef11f604503b1862a21597436283f158114d77e (patch)
treeddc51254ea3979b08bb67a3662c4e353f2628011 /tools/perf/scripts/python/export-to-postgresql.py
parentcf770af5645a41a753c55a053fa1237105b0964a (diff)
downloadlinux-0ef11f604503b1862a21597436283f158114d77e.tar.xz
firmware: dmi: Stop decoding on broken entry
If a DMI table entry is shorter than 4 bytes, it is invalid. Due to how DMI table parsing works, it is impossible to safely recover from such an error, so we have to stop decoding the table. Signed-off-by: Jean Delvare <jdelvare@suse.de> Link: https://lore.kernel.org/linux-kernel/Zh2K3-HLXOesT_vZ@liuwe-devbox-debian-v2/T/ Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions