diff options
| author | Dan Carpenter <[email protected]> | 2019-12-12 12:11:30 +0300 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2019-12-13 08:16:18 +0200 |
| commit | 8c8a854d6f43aacfaba49c116c426913bf416419 (patch) | |
| tree | a7b9411cd7a7bb3ba0c063756227101348fa8f6d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 601a9ee0f0c71efdd36b7fe7b053e2fb42187c7e (diff) | |
drm/i915/bios: fix off by one in parse_generic_dtd()
The "num_dtd" variable is the number of elements in the
generic_dtd->dtd[] array so the > needs to be >= to prevent reading one
element beyond the end of the array.
Fixes: 33ef6d4fd8df ("drm/i915/vbt: Handle generic DTD block")
Reviewed-by: Matt Roper <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions