linux/drivers/gpu/drm/tiny
Colin Ian King 0ff9bf9f3e drm: simpledrm: Fix use after free issues
There are two occurrances where objects are being free'd via
a put call and yet they are being referenced after this. Fix these
by adding in the missing continue statement so that the put on the
end of the loop is skipped over.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Addresses-Coverity: ("Use after free")
Fixes: 11e8f5fd22 ("drm: Add simpledrm driver")
Link: https://patchwork.freedesktop.org/patch/msgid/20210512203051.299026-1-colin.king@canonical.com
2021-05-13 16:00:54 +02:00
..
arcpgu.c drm/arc: Move to drm/tiny 2021-02-25 13:19:04 +01:00
cirrus.c drm/format-helper: Pass destination pitch to drm_fb_memcpy_dstclip() 2021-05-01 12:45:03 +02:00
gm12u320.c drm-misc-next for 5.13: 2021-03-16 17:08:46 +10:00
hx8357d.c drm/hx8357d: Avoid spamming logs if probe is deferred 2021-04-27 13:15:12 +02:00
ili9225.c drm/ili9225: Avoid spamming logs if probe is deferred 2021-04-27 13:14:58 +02:00
ili9341.c drm/ili9341: Avoid spamming logs if probe is deferred 2021-04-27 13:14:42 +02:00
ili9486.c drm/ili9486: Avoid spamming logs if probe is deferred 2021-04-27 13:14:21 +02:00
Kconfig drm: Add simpledrm driver 2021-05-01 12:45:04 +02:00
Makefile drm: Add simpledrm driver 2021-05-01 12:45:04 +02:00
mi0283qt.c drm/mi0283qt: Avoid spamming logs if probe is deferred 2021-04-27 13:14:06 +02:00
repaper.c drm/gem: Move drm_gem_fb_prepare_fb() to GEM atomic helpers 2021-02-23 08:54:22 +01:00
simpledrm.c drm: simpledrm: Fix use after free issues 2021-05-13 16:00:54 +02:00
st7586.c drm/st7586: Avoid spamming logs if probe is deferred 2021-04-27 13:13:56 +02:00
st7735r.c drm/st7735r: Avoid spamming logs if probe is deferred 2021-04-27 13:13:46 +02:00