[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kexi/3.1] src/migration/mdb/3rdparty/mdbtools/libmdb: Fix not being able to handle blobs > 16 MB. L
From:       Jaroslaw Staniek <null () kde ! org>
Date:       2018-08-30 21:19:24
Message-ID: E1fvULc-0003tX-Sr () code ! kde ! org
[Download RAW message or body]

Git commit 4ac1730c9778b35c21e8343573af199018e26d2c by Jaroslaw Staniek, on behalf of \
Jimmy Taker. Committed on 30/08/2018 at 20:52.
Pushed by staniek into branch '3.1'.

Fix not being able to handle blobs > 16 MB. Limit now at 256 MB

FIXED-IN:3.1.1
mdbtools 850d9e169d91bda02

M  +1    -1    src/migration/mdb/3rdparty/mdbtools/libmdb/data.c

https://commits.kde.org/kexi/4ac1730c9778b35c21e8343573af199018e26d2c

diff --git a/src/migration/mdb/3rdparty/mdbtools/libmdb/data.c \
b/src/migration/mdb/3rdparty/mdbtools/libmdb/data.c index 74fb1ba02..5c4899371 100644
--- a/src/migration/mdb/3rdparty/mdbtools/libmdb/data.c
+++ b/src/migration/mdb/3rdparty/mdbtools/libmdb/data.c
@@ -547,7 +547,7 @@ mdb_ole_read(MdbHandle *mdb, MdbColumn *col, void *ole_ptr, int \
chunk_size)  mdb_buffer_dump(col->bind_ptr, 0, 16);
 		}
 		return len;
-	} else if ((ole_len & 0xff000000) == 0) {
+	} else if ((ole_len & 0xf0000000) == 0) {
 		col->cur_blob_pg_row = mdb_get_int32(ole_ptr, 4);
 		mdb_debug(MDB_DEBUG_OLE,"ole row = %d ole pg = %ld",
 			col->cur_blob_pg_row & 0xff,


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic