Index: /trunk/src/VBox/Runtime/common/misc/getoptargv.cpp
===================================================================
--- /trunk/src/VBox/Runtime/common/misc/getoptargv.cpp	(revision 27385)
+++ /trunk/src/VBox/Runtime/common/misc/getoptargv.cpp	(revision 27386)
@@ -383,5 +383,5 @@
     while (*psz == '\\')
         psz++;
-    return *psz == '"';
+    return *psz == '"' || *psz == '\0';
 }
 
Index: /trunk/src/VBox/Runtime/testcase/tstRTGetOptArgv.cpp
===================================================================
--- /trunk/src/VBox/Runtime/testcase/tstRTGetOptArgv.cpp	(revision 27385)
+++ /trunk/src/VBox/Runtime/testcase/tstRTGetOptArgv.cpp	(revision 27386)
@@ -64,6 +64,6 @@
         },
         {
-            { "a\\\\b c", "d", "e", NULL, NULL },
-            "\"a\\\\b c\" d e"
+            { "a\\\\b c", "d", "e", " \\", NULL },
+            "\"a\\\\b c\" d e \" \\\\\""
         },
     };
