Index: emulators/open-vm-tools/files/patch-services_plugins_vix_vixTools.c =================================================================== --- emulators/open-vm-tools/files/patch-services_plugins_vix_vixTools.c (nonexistent) +++ emulators/open-vm-tools/files/patch-services_plugins_vix_vixTools.c (working copy) @@ -0,0 +1,29 @@ +--- services/plugins/vix/vixTools.c.orig 2017-12-15 21:11:49 UTC ++++ services/plugins/vix/vixTools.c +@@ -52,6 +52,7 @@ + #include + #include + #include ++#include + + #ifdef _WIN32 + #include +@@ -7330,7 +7331,7 @@ VixToolsRunScript(VixCommandRequestHeader *requestMsg, + goto abort; + } + } +- for (var = 0; var <= 0xFFFFFFFF; var++) { ++ for (var = 0; ; var++) { + free(tempScriptFilePath); + tempScriptFilePath = Str_SafeAsprintf(NULL, + "%s"DIRSEPS"%s%d%s", +@@ -7372,6 +7373,9 @@ VixToolsRunScript(VixCommandRequestHeader *requestMsg, + * deletes it), we should not try 4+ billion times. + */ + break; ++ } ++ if (var == INT_MAX) { ++ break; + } + } + if (fd < 0) { Property changes on: emulators/open-vm-tools/files/patch-services_plugins_vix_vixTools.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property