We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4333e54 commit 85eb7eeCopy full SHA for 85eb7ee
1 file changed
js/src/ipc/reader/binary.ts
@@ -162,7 +162,7 @@ function readFileSchema(bb: ByteBuffer) {
162
(!checkForMagicArrowString(bb.bytes(), fileLength - magicLength) /* Missing magic end */) ||
163
(/* Invalid footer length */
164
(footerLength = bb.readInt32(footerOffset = fileLength - magicAndPadding)) < 1 &&
165
- (footerLength + magicX2AndPadding > fileLength))) {
+ (footerLength + footerOffset > fileLength))) {
166
return null;
167
}
168
bb.setPosition(footerOffset - footerLength);
0 commit comments