From c1304672335a2bac58871484bc8daca6130f03b8 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Wed, 28 May 2025 15:53:27 -0400 Subject: [PATCH] Fix buffer overflow due to smaller array define --- src/y_inter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/y_inter.c b/src/y_inter.c index 089bd2219..a98d87205 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -1154,7 +1154,7 @@ static inline void Y_DrawAnimatedVoteScreenPatch(boolean widePatch) void Y_VoteDrawer(void) { INT32 rowval, i, lvls, x, picdiff, y = 0, height = 0; - UINT8 selected[4]; + UINT8 selected[12]; fixed_t rubyheight = 0; fixed_t scale; patch_t *pic;