summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2012-08-16 18:55:05 +0400
committerDave Airlie <airlied@redhat.com>2012-09-13 05:22:30 +0400
commit8504072a2a47c80344c1cf81537d1d433a979fc6 (patch)
tree779f70248093e5cb09145544bcc79f423aadc5bb /tools/perf/scripts/python/export-to-postgresql.py
parent9e50b9d55e9c38440175a0f27f77708e2270b140 (diff)
downloadlinux-8504072a2a47c80344c1cf81537d1d433a979fc6.tar.xz
drm: edid: Add bounds checking to HDMI VSDB parsing
The length of HDMI VSDB must be at least 5 bytes. Other than the minimum, nothing else about the length is specified. Check the length before accessing any additional field beyond the minimum length. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions