From c09acf597da7ecf50dd05017384ac766fd4157e4 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 14 Jan 2020 19:42:11 +0100 Subject: [PATCH] Fixed the size of the bitmap_t.line array, fixes out-of-bounds acceses. --- src/video/video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/video.h b/src/video/video.h index 427b0e5c9..a82993cfd 100644 --- a/src/video/video.h +++ b/src/video/video.h @@ -65,7 +65,7 @@ typedef struct { typedef struct { int w, h; uint32_t *dat; - uint32_t *line[2048]; + uint32_t *line[2112]; } bitmap_t; typedef struct {