From a06c90827f71a8e8ec1c911c0a951e88824f4135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= Date: Mon, 1 Mar 2021 09:58:39 +0200 Subject: [PATCH 1/1] Embed: Ensure data blocks are null-terminated --- res/Embed.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/res/Embed.cmake b/res/Embed.cmake index 3b65b36c..d9f84ed5 100644 --- a/res/Embed.cmake +++ b/res/Embed.cmake @@ -158,6 +158,7 @@ iBool load_Embed(const char *path) { return iFalse; } init_Block(data, chunk->size); + fill_Block(data, 0); seek_File(f, chunk->pos); readData_File(f, chunk->size, data_Block(data)); } -- 2.34.1