We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f9d022 commit 90fb875Copy full SHA for 90fb875
dist/jszip.js
@@ -3949,7 +3949,7 @@ ZipEntry.prototype = {
3949
this.extraFields = {};
3950
}
3951
3952
- while (reader.index < end) {
+ while (reader.index + 4 < end) {
3953
extraFieldId = reader.readInt(2);
3954
extraFieldLength = reader.readInt(2);
3955
extraFieldValue = reader.readData(extraFieldLength);
@@ -3960,6 +3960,8 @@ ZipEntry.prototype = {
3960
value: extraFieldValue
3961
};
3962
3963
+
3964
+ reader.setIndex(end);
3965
},
3966
/**
3967
* Apply an UTF8 transformation if needed.
0 commit comments