Re: [PATCH 2/2] test: video: add regression test for RLE8 bmp overflow
Simon Glass <[email protected]>
| Newsgroups | gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <CAFLszTi5aG1PZX6vrppu_v1UASjpxAUG9=NiJw0c2bcGXrHWsA@mail.gmail.com> |
On 2026-07-22T07:10:10, shj <[email protected]> wrote: > test: video: add regression test for RLE8 bmp overflow > > Add a DM test that displays a crafted RLE8 bitmap whose decode cursor > is driven below the framebuffer. Without the preceding fix > video_bmp_display() writes out of bounds and returns success; with it > the image is rejected with -EINVAL. > > Signed-off-by: shj <[email protected]> > > test/dm/video.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 50 insertions(+) Reviewed-by: Simon Glass <[email protected]>