From 4fb0ca701afe94c17c0dc60836305e2dd658e94a Mon Sep 17 00:00:00 2001 From: "Daniel T. Borelli" Date: Fri, 2 Jan 2026 16:12:23 -0300 Subject: [PATCH] Fixed out of bounds when accessing variable When the variable errornames[] is accessed by calling TLN_SetLastError(TLN_ERR_IDX_PALETTE) --- src/Tilengine.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Tilengine.c b/src/Tilengine.c index c3763d3..273d725 100644 --- a/src/Tilengine.c +++ b/src/Tilengine.c @@ -800,7 +800,8 @@ const char* const errornames[] = "Resource file has invalid format", "A width or height parameter is invalid", "Unsupported function", - "Invalid ObjectList reference" + "Invalid ObjectList reference", + "Palette index out of range" }; /*!