diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-04-11 10:22:09 +0300 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-04-12 13:23:42 +0300 |
| commit | eeeebea6cbe0d85817e2fa8eee8a2f5c9d88a44a (patch) | |
| tree | b58f52b9a906f4afc014b8bbf54bfd8ac3b0edc8 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 706778013bc5ee97970de3a2deee80b007e29c25 (diff) | |
| download | linux-eeeebea6cbe0d85817e2fa8eee8a2f5c9d88a44a.tar.gz linux-eeeebea6cbe0d85817e2fa8eee8a2f5c9d88a44a.zip | |
drm/i915: Reject panel_type > 0xf from VBT
VBT can only contain 16 panel entries, indexed with the panel_type.
To play it safe we should reject panel_type > 0xf, so that we don't
read past the valid data.
v2: Add debug logging (Jani)
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Rob Kramer <rob@solution-space.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com> (v1)
Link: http://patchwork.freedesktop.org/patch/msgid/1460359329-10817-1-git-send-email-ville.syrjala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
