Browse Source

Comments to OLE2 extractor

n1073645 5 years ago
parent
commit
725b0d42f8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/core/lib/FileSignatures.mjs

+ 2 - 0
src/core/lib/FileSignatures.mjs

@@ -3002,6 +3002,8 @@ export function extractOLE2(bytes, offset) {
 
 
                 // Move forwards by the size of the comp obj.
                 // Move forwards by the size of the comp obj.
                 if (element[2] === "Comp Obj") {
                 if (element[2] === "Comp Obj") {
+
+                    // The size of the Comp Obj entry - 128. Since we add 128 later.
                     total += (128*6);
                     total += (128*6);
                     stream.moveTo(total);
                     stream.moveTo(total);
                 } else if (element[2] === "Entry") {
                 } else if (element[2] === "Entry") {