From: James Ahlborn Date: Wed, 19 Oct 2011 00:37:08 +0000 (+0000) Subject: Fix issue with reading Access 97 database with large number of fields X-Git-Tag: jackcess-1.2.6~26 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1eda5c96a8305b4109c05aaa8b7330a398e9a548;p=jackcess.git Fix issue with reading Access 97 database with large number of fields git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@575 f203690c-595d-4dc9-a70b-905162fa7fd2 --- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 2b86a16..0865037 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -22,6 +22,9 @@ Add Database.getSystemTableNames to enable retrieving the list of system/hidden tables. + + Fix issue with reading Access 97 database with large number of fields. + diff --git a/src/java/com/healthmarketscience/jackcess/Table.java b/src/java/com/healthmarketscience/jackcess/Table.java index f5e07c0..30a48c7 100644 --- a/src/java/com/healthmarketscience/jackcess/Table.java +++ b/src/java/com/healthmarketscience/jackcess/Table.java @@ -759,7 +759,7 @@ public class Table int jumpsUsed = 0; for(int i = 0; i < numVarCols + 1; i++) { - if((jumpsUsed < numJumps) && + while((jumpsUsed < numJumps) && (i == ByteUtil.getUnsignedByte( rowBuffer, rowEnd - nullMaskSize-jumpsUsed - 1))) { jumpsUsed++;