aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorLuca Coelho <[email protected]>2024-05-28 14:29:00 +0300
committerSuraj Kandpal <[email protected]>2024-05-30 16:08:03 +0530
commitb2c2f2df6f01174eefc1ea2aa9aef8b1a6c69575 (patch)
tree840532dd9102a963e1ea70911a1704cabaafcdae /tools/perf/scripts/python/netdev-times.py
parent45fe957ae769b9122f4a40f2528c516132fe7e3d (diff)
drm/i915/bios: double check array-boundary in parse_sdvo_lvds_data
During static analysis, a concern was raised that we may access the dtd->dtd[] array out of bounds, because we are not checking whether the index we use is larger than the array. This should not be a problem as is, because the enumeration that is used for this index comes from "panel_type", which uses an enumeration with 4 items. But if this enumeration is ever changed, it can lead to hard-to-detect bugs, so better double-check it before using it as an index to the array. Signed-off-by: Luca Coelho <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Signed-off-by: Suraj Kandpal <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions