aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorChen Ni <[email protected]>2024-06-21 15:10:31 +0800
committerMaxime Ripard <[email protected]>2024-06-26 15:32:03 +0200
commit7bd09a2db0f617377027a2bb0b9179e6959edff3 (patch)
treed0e7cd1f861a53f26826cc3383a48dd9edab2f09 /tools/perf/util/scripting-engines/trace-event-perl.c
parent97370f8ed271405bab2af42b2d3abbb4002c9114 (diff)
drm/qxl: Add check for drm_cvt_mode
Add check for the return value of drm_cvt_mode() and return the error if it fails in order to avoid NULL pointer dereference. Fixes: 1b043677d4be ("drm/qxl: add qxl_add_mode helper function") Signed-off-by: Chen Ni <[email protected]> Reviewed-by: Heng Qi <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions