aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2018-09-18 19:44:36 +0200
committerGreg Kroah-Hartman <[email protected]>2018-09-20 12:32:05 +0200
commit114094c83ed334524ee1a50bd8c08425f361148b (patch)
treeefa6b974501666df434fcdae928002f6b4776831 /tools/perf/scripts/python
parent0fdda2ce74e5fe2d9ff813895fcf0f716be66290 (diff)
staging: vboxvideo: Fix NULL ptr deref in vbox_set_up_input_mapping()
When vbox_set_up_input_mapping() gets called the first crtc might be disable and not have a fb at all, triggering a NUL ptr deref at: vbox->input_mapping_width = CRTC_FB(crtci)->width; Instead of using the fb from the crtc with id 0, just use the fb from the first crtc with a fb. This is in the single_framebuffer = true path, so all crtc-s point to the same fb anyways. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions