From d793e38f58423c2b34bf3dc80c7ca1e2e7dc00f6 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 19 Jun 2025 21:05:49 +0100 Subject: [PATCH] Expand buffers to prevent potential truncation --- code/tools/asm/cmdlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/tools/asm/cmdlib.c b/code/tools/asm/cmdlib.c index 5fa1c31a..f9274611 100644 --- a/code/tools/asm/cmdlib.c +++ b/code/tools/asm/cmdlib.c @@ -65,7 +65,7 @@ void ExpandWildcards( int *argc, char ***argv ) struct _finddata_t fileinfo; intptr_t handle; int i; - char filename[1024]; + char filename[2048]; char filebase[1024]; char *path; @@ -338,7 +338,7 @@ char *ExpandGamePath (const char *path) char *ExpandPathAndArchive (const char *path) { char *expanded; - char archivename[1024]; + char archivename[2048]; expanded = ExpandPath (path);