From kde-commits Thu Aug 30 21:19:24 2018 From: Jaroslaw Staniek Date: Thu, 30 Aug 2018 21:19:24 +0000 To: kde-commits Subject: [kexi/3.1] src/migration/mdb/3rdparty/mdbtools/libmdb: Fix not being able to handle blobs > 16 MB. L Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=153566428803419 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/migrat= ion/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) =3D=3D 0) { + } else if ((ole_len & 0xf0000000) =3D=3D 0) { col->cur_blob_pg_row =3D mdb_get_int32(ole_ptr, 4); mdb_debug(MDB_DEBUG_OLE,"ole row =3D %d ole pg =3D %ld", col->cur_blob_pg_row & 0xff,