From f30a73fd453ecb104889c40a2ea92b1b72e99edb Mon Sep 17 00:00:00 2001 From: Eric Mellino Date: Fri, 24 Feb 2017 16:48:50 -0800 Subject: Increase the length of allowed parameters in ilasm. The way this code is structured prevents parameters longer than 128 characters from being passed. This change simply increases that to 1024 characters, although a more robust change could be made in the future to account for platform differences. --- src/ilasm/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ilasm/main.cpp') diff --git a/src/ilasm/main.cpp b/src/ilasm/main.cpp index 35f4545a05..912ccce859 100644 --- a/src/ilasm/main.cpp +++ b/src/ilasm/main.cpp @@ -106,7 +106,7 @@ extern "C" int _cdecl wmain(int argc, __in WCHAR **argv) { int i, NumFiles = 0, NumDeltaFiles = 0; bool IsDLL = false, IsOBJ = false; - char szOpt[128]; + char szOpt[1024]; Assembler *pAsm; MappedFileStream *pIn; AsmParse *pParser; -- cgit v1.2.3