From 18d706f607509442dda6acdcfa7c2297b3b39cda Mon Sep 17 00:00:00 2001 From: ShadelessFox Date: Fri, 11 Oct 2024 16:02:08 +0200 Subject: [PATCH] Fix segfault --- .../org.eclipse.equinox.executable.feature/library/eclipse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/org.eclipse.equinox.executable.feature/library/eclipse.c b/features/org.eclipse.equinox.executable.feature/library/eclipse.c index 57e7d01e7a..d5574f8c1a 100644 --- a/features/org.eclipse.equinox.executable.feature/library/eclipse.c +++ b/features/org.eclipse.equinox.executable.feature/library/eclipse.c @@ -1008,7 +1008,7 @@ static _TCHAR** getAdditionalVMArgs() { int argc = 0; _TCHAR** argv = NULL; - for (_TCHAR** path = additionalVmargsPath; path; path++) { + for (_TCHAR** path = additionalVmargsPath; *path; path++) { if (readConfigFile(*path, &argc, &argv) == 0) { break; }