aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2015-01-09 14:21:12 +0200
committerDaniel Vetter <[email protected]>2015-01-13 00:44:38 +0100
commit7c7e10db4698c38403bae9af3b0a684724d93472 (patch)
tree44614381f4c2c8d2ddbb6eca9a08bbd068abe3b9 /scripts/gdb/linux/utils.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ä <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions