kernel_optimize_test/drivers/video
Anton Vasilyev 7af9a52e33 video: fbdev: udlfb: Fix use after free on dlfb_usb_probe error path
If dlfb_usb_probe drops to error path then there is only one
kref_init() call and no kref_get(), so second kref_put() leads to
use after free.

The patch removes superfluous kref_put on dlfb_usb_probe error path.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru>
Cc: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2017-08-21 16:49:58 +02:00
..
backlight video: adp8870: move header file out of I2C realm 2017-07-06 08:58:39 +01:00
console fbcon: Make fbcon a built-time depency for fbdev 2017-08-01 17:32:07 +02:00
fbdev video: fbdev: udlfb: Fix use after free on dlfb_usb_probe error path 2017-08-21 16:49:58 +02:00
logo video/logo: tidyup fb_logo_late_init initcall timing 2017-03-20 18:31:00 +01:00
display_timing.c
hdmi.c video: Add new aspect ratios for HDMI 2.0 2016-10-17 14:23:46 +02:00
Kconfig fbdev: sh_mipi_dsi: remove driver 2016-05-10 11:53:38 +03:00
Makefile fbdev: sti: don't select CONFIG_VT 2017-05-05 17:25:12 +02:00
of_display_timing.c video: fbdev: Convert to using %pOF instead of full_name 2017-08-07 17:22:13 +02:00
of_videomode.c video: fbdev: Convert to using %pOF instead of full_name 2017-08-07 17:22:13 +02:00
vgastate.c
videomode.c