Index: /trunk/src/VBox/Runtime/common/misc/getopt.cpp
===================================================================
--- /trunk/src/VBox/Runtime/common/misc/getopt.cpp	(revision 8147)
+++ /trunk/src/VBox/Runtime/common/misc/getopt.cpp	(revision 8148)
@@ -54,4 +54,5 @@
         {
             Assert(!(paOptions[i].fFlags & ~RTGETOPT_VALID_MASK));
+            Assert(paOptions[i].iShort > 0);
 
             if ((paOptions[i].fFlags & RTGETOPT_REQ_MASK) != RTGETOPT_REQ_NOTHING)
