Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Zlib.prototype._process = function () {
while (this.strm.avail_in > 0 &&
this.mode === exports.GUNZIP &&
this.err === exports.Z_STREAM_END &&
this.strm.next_in[0] !== 0x00) {
this.strm.input[this.strm.next_in] !== 0x00) {
// Bytes remain in input buffer. Perhaps this is another compressed
// member in the same archive, or just trailing garbage.
// Trailing zero bytes are okay, though, since they are frequently
Expand Down