Index: /trunk/src/VBox/Runtime/common/zip/tarvfs.cpp
===================================================================
--- /trunk/src/VBox/Runtime/common/zip/tarvfs.cpp	(revision 55645)
+++ /trunk/src/VBox/Runtime/common/zip/tarvfs.cpp	(revision 55646)
@@ -78,5 +78,6 @@
     /** The state machine state. */
     RTZIPTARREADERSTATE     enmState;
-    /** The type of the previous TAR header. */
+    /** The type of the previous TAR header.
+     * @remarks Same a enmType for the first header in the TAR stream. */
     RTZIPTARTYPE            enmPrevType;
     /** The type of the current TAR header. */
@@ -459,5 +460,9 @@
     }
     if (fFirst)
+    {
         pThis->enmType = enmType;
+        if (pThis->enmPrevType == RTZIPTARTYPE_INVALID)
+            pThis->enmPrevType = enmType;
+    }
 
     /*
