From: Howard Chu Date: Fri, 19 Aug 2011 04:58:22 +0000 (-0700) Subject: Fix overflow page read X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~148^2~92 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6d924c1dda5a2ce6333e139c029576d3ca2d329b;p=openldap Fix overflow page read --- diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index 08b3465b2a..c1fc8cf6ee 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -1740,7 +1740,7 @@ mdb_read_data(MDB_txn *txn, MDB_node *leaf, MDB_val *data) DPRINTF("read overflow page %lu failed", pgno); return MDB_PAGE_NOTFOUND; } - data->mv_data = omp; + data->mv_data = METADATA(omp); return MDB_SUCCESS; }