Comparing version 2.4.3 to 2.5.0
@@ -283,4 +283,3 @@ var fs = require("fs"); | ||
var i = 0; | ||
while (i < extraFieldBuffer.length) { | ||
if (i >= extraFieldBuffer.length - 4) return emitErrorAndAutoClose(self, new Error("unexpected end of Extra Field buffer")); | ||
while (i < extraFieldBuffer.length - 3) { | ||
var headerId = extraFieldBuffer.readUInt16LE(i + 0); | ||
@@ -287,0 +286,0 @@ var dataSize = extraFieldBuffer.readUInt16LE(i + 2); |
{ | ||
"name": "yauzl", | ||
"version": "2.4.3", | ||
"version": "2.5.0", | ||
"description": "yet another unzip library for node", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -442,2 +442,4 @@ # yauzl | ||
* 2.5.0 | ||
* Ignore malformed Extra Field that is common in Android .apk files. [issue #31](https://github.com/thejoshwolfe/yauzl/issues/31) | ||
* 2.4.3 | ||
@@ -444,0 +446,0 @@ * Fix crash when parsing malformed Extra Field buffers. [issue #31](https://github.com/thejoshwolfe/yauzl/issues/31) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47398
474
583