浏览代码

Comments to OLE2 extractor

n1073645 5 年之前
父节点
当前提交
725b0d42f8
共有 1 个文件被更改,包括 2 次插入0 次删除
  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.
                 if (element[2] === "Comp Obj") {
+
+                    // The size of the Comp Obj entry - 128. Since we add 128 later.
                     total += (128*6);
                     stream.moveTo(total);
                 } else if (element[2] === "Entry") {