aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorAnton Vasilyev <[email protected]>2018-07-27 18:30:58 +0300
committerGerd Hoffmann <[email protected]>2018-08-10 07:57:49 +0200
commit66e0c8a5bcfd292606a70268376b44b468c316e8 (patch)
tree5482dcf85ffae62d51eb03f32a978097da169220 /scripts/gcc-plugins/sancov_plugin.c
parent5043348a4969ae1661c008efe929abd0d76e3792 (diff)
drm: qxl: Fix NULL pointer dereference at qxl_alloc_client_monitors_config
If qxl_alloc_client_monitors_config() fails to allocate client_monitors_config then NULL pointer dereference occurs in function qxl_display_copy_rom_client_monitors_config() after qxl_alloc_client_monitors_config() call. The patch adds return error from qxl_alloc_client_monitors_config() and additional status for qxl_display_copy_rom_client_monitors_config return value. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Anton Vasilyev <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions