node-stream-zip
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -189,3 +189,4 @@ /** | ||
while (--pos >= minPos && --bufferPosition >= 0) { | ||
if (buffer[bufferPosition] === op.firstByte) { // quick check first signature byte | ||
if (buffer.byteLength - bufferPosition >= 4 && | ||
buffer[bufferPosition] === op.firstByte) { // quick check first signature byte | ||
if (buffer.readUInt32LE(bufferPosition) === op.sig) { | ||
@@ -192,0 +193,0 @@ op.lastBufferPosition = bufferPosition; |
{ | ||
"name": "node-stream-zip", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "node.js library for reading and extraction of ZIP archives", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
37556
882