Re: [U-Boot] [PATCH v4 01/15] video: bmp: check resolutions of panel/bitmap

2019-09-24 Thread Yannick FERTRE
Hello Heinrich, Thank for your review. You're right my patch does not allow to properly protect the framebuffer. I will push a new patch which check the bitmap size and exit in case of size error. Yannick Fertré On 9/17/19 11:12 PM, Heinrich Schuchardt wrote: > On 9/13/19 11:47 AM, Yannick

Re: [U-Boot] [PATCH v4 01/15] video: bmp: check resolutions of panel/bitmap

2019-09-17 Thread Heinrich Schuchardt
On 9/13/19 11:47 AM, Yannick Fertré wrote: If the size of the bitmap is bigger than the size of the panel then errors appear when calculating axis alignment and the copy of bitmap is done outside of framebuffer. Signed-off-by: Yannick Fertré --- drivers/video/video_bmp.c | 14 ++

Re: [U-Boot] [PATCH v4 01/15] video: bmp: check resolutions of panel/bitmap

2019-09-16 Thread Simon Glass
On Fri, 13 Sep 2019 at 02:48, Yannick Fertré wrote: > > If the size of the bitmap is bigger than the size of > the panel then errors appear when calculating axis alignment > and the copy of bitmap is done outside of framebuffer. > > Signed-off-by: Yannick Fertré > --- >

[U-Boot] [PATCH v4 01/15] video: bmp: check resolutions of panel/bitmap

2019-09-13 Thread Yannick Fertré
If the size of the bitmap is bigger than the size of the panel then errors appear when calculating axis alignment and the copy of bitmap is done outside of framebuffer. Signed-off-by: Yannick Fertré --- drivers/video/video_bmp.c | 14 ++ 1 file changed, 14 insertions(+) diff --git