summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-01-09 14:21:12 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-01-13 00:44:38 +0100
commit7c7e10db4698c38403bae9af3b0a684724d93472 (patch)
tree44614381f4c2c8d2ddbb6eca9a08bbd068abe3b9 /tools/perf/scripts/python/export-to-postgresql.py
parente85a5c7989c5be8fe30acc35eba9fb54b3450f36 (diff)
drm/i915: Make hpd arrays big enough to avoid out of bounds access
intel_hpd_irq_handler() walks the passed in hpd[] array assuming it contains HPD_NUM_PINS elements. Currently that's not true as we don't specify an explicit size for the arrays when initializing them. Avoid the out of bounds accesses by specifying the size for the arrays. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions