Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reject 2, 3, 5, 6, 7-bpp BMP images
BMP decoder assumes less than 8 bit depth images have 1 or 4 bits per pixel. No other depths are correctly translated to an 8bpp surface. This patch rejects loading these images. https://bugzilla.libsdl.org/show_bug.cgi?id=4498 Signed-off-by: Petr P?sa? <firstname.lastname@example.org>
- Loading branch information
Showing with 8 additions and 0 deletions.
- +8 −0 src/video/SDL_bmp.c