[PATCH v2] drm/exynos: check if framebuffer and gem size are valid or not.

2012-07-20 Thread InKi Dae
Hi Laurent, 2012/7/19, Laurent Pinchart : > Hi Inki, > > On Monday 09 July 2012 14:23:23 Inki Dae wrote: >> with addfb request by user, wrong framebuffer or gem size could be sent >> to kernel side so this could induce invalid memory access by dma of a >> device. this patch checks if framebuffer

Re: [PATCH v2] drm/exynos: check if framebuffer and gem size are valid or not.

2012-07-20 Thread InKi Dae
Hi Laurent, 2012/7/19, Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Inki, On Monday 09 July 2012 14:23:23 Inki Dae wrote: with addfb request by user, wrong framebuffer or gem size could be sent to kernel side so this could induce invalid memory access by dma of a device. this

[PATCH v2] drm/exynos: check if framebuffer and gem size are valid or not.

2012-07-19 Thread Laurent Pinchart
Hi Inki, On Monday 09 July 2012 14:23:23 Inki Dae wrote: > with addfb request by user, wrong framebuffer or gem size could be sent > to kernel side so this could induce invalid memory access by dma of a > device. this patch checks if framebuffer and gem size are valid or not to > avoid this

Re: [PATCH v2] drm/exynos: check if framebuffer and gem size are valid or not.

2012-07-19 Thread Laurent Pinchart
Hi Inki, On Monday 09 July 2012 14:23:23 Inki Dae wrote: with addfb request by user, wrong framebuffer or gem size could be sent to kernel side so this could induce invalid memory access by dma of a device. this patch checks if framebuffer and gem size are valid or not to avoid this issue.

[PATCH v2] drm/exynos: check if framebuffer and gem size are valid or not.

2012-07-09 Thread Inki Dae
with addfb request by user, wrong framebuffer or gem size could be sent to kernel side so this could induce invalid memory access by dma of a device. this patch checks if framebuffer and gem size are valid or not to avoid this issue. Changelog v2: use fb->pitches instead of caculating it with

[PATCH v2] drm/exynos: check if framebuffer and gem size are valid or not.

2012-07-08 Thread Inki Dae
with addfb request by user, wrong framebuffer or gem size could be sent to kernel side so this could induce invalid memory access by dma of a device. this patch checks if framebuffer and gem size are valid or not to avoid this issue. Changelog v2: use fb-pitches instead of caculating it with