OpenCloudOS-Kernel/drivers/gpu/drm/udl
Greg Kroah-Hartman 3b82a4db8e drm: udl: Properly check framebuffer mmap offsets
The memmap options sent to the udl framebuffer driver were not being
checked for all sets of possible crazy values.  Fix this up by properly
bounding the allowed values.

Reported-by: Eyal Itkin <eyalit@checkpoint.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180321154553.GA18454@kroah.com
2018-03-22 07:59:01 +01:00
..
Kconfig drm/udl: make fbdev support really optional 2016-07-18 09:11:40 +02:00
Makefile drm/udl: remove unneeded -Iinclude/drm compiler flag 2017-05-18 07:13:53 +02:00
udl_connector.c Merge tag 'drm-misc-next-2017-10-20' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2017-10-24 16:51:05 +10:00
udl_connector.h drm/udl: Fixed problem with UDL adpater reconnection 2017-10-16 15:36:02 -04:00
udl_dmabuf.c drm/udl: dma-buf: Constify dma_buf_ops structures. 2017-07-03 10:07:47 +02:00
udl_drv.c drm/udl: Fixed problem with UDL adpater reconnection 2017-10-16 15:36:02 -04:00
udl_drv.h mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmf 2017-02-24 17:46:54 -08:00
udl_encoder.c drm/udl: removed optional dummy encoder mode_fixup function. 2016-02-16 15:30:12 +01:00
udl_fb.c drm: udl: Properly check framebuffer mmap offsets 2018-03-22 07:59:01 +01:00
udl_gem.c drm/udl: switch to drm_*_get(), drm_*_put() helpers 2017-08-11 11:41:03 -04:00
udl_main.c drm/udl: Fixed problem with UDL adpater reconnection 2017-10-16 15:36:02 -04:00
udl_modeset.c drm: Add acquire ctx parameter to ->page_flip(_target) 2017-03-29 09:50:38 +02:00
udl_transfer.c drm/udl: Fix unaligned memory access in udl_render_hline 2017-04-11 09:21:30 -04:00