Index: /trunk/src/VBox/Devices/Graphics/HGSMI/HGSMIHost.cpp
===================================================================
--- /trunk/src/VBox/Devices/Graphics/HGSMI/HGSMIHost.cpp	(revision 22750)
+++ /trunk/src/VBox/Devices/Graphics/HGSMI/HGSMIHost.cpp	(revision 22751)
@@ -374,7 +374,9 @@
             }
 
+#ifdef DEBUG_misha
             /* guest usually completes commands in the order it receives it
              * if we're here this would typically means there is some cmd loss */
             Assert(0);
+#endif
 
             pPrev = pEntry;
Index: /trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBQGL.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBQGL.cpp	(revision 22750)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBQGL.cpp	(revision 22751)
@@ -974,5 +974,5 @@
     QByteArray asciiStr = program.toAscii();
     const char * contents = asciiStr.constData();
-    GLint length = (GLint)strlen(contents) + 1;
+    GLint length = (GLint)strlen(contents);
 
     VBOXQGL_CHECKERR(
