diff options
author | Keith Bostic <keith@wiredtiger.com> | 2014-08-17 09:20:51 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2014-08-17 09:20:51 -0400 |
commit | 641e0628d91af07defb860f49e4752462798699b (patch) | |
tree | 0b5cf96d2a2361c79a9d27af09cc1eb548693bcc /src/btree/bt_slvg.c | |
parent | 7f1955305e76ae9d3d61d51727cfac6abc638eee (diff) | |
download | mongo-641e0628d91af07defb860f49e4752462798699b.tar.gz |
Bug, wasn't incrementing the WT_ROW reference, potentially leads to
leaking overflow pages or failure when attempting to free the same
overflow pages twice.
Diffstat (limited to 'src/btree/bt_slvg.c')
-rw-r--r-- | src/btree/bt_slvg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_slvg.c b/src/btree/bt_slvg.c index 985a5298702..f2e42785a2e 100644 --- a/src/btree/bt_slvg.c +++ b/src/btree/bt_slvg.c @@ -1907,7 +1907,7 @@ __slvg_row_merge_ovfl(WT_SESSION_IMPL *session, bm = S2BT(session)->bm; unpack = &_unpack; - for (rip = page->pg_row_d + start; start < stop; ++start) { + for (rip = page->pg_row_d + start; start < stop; ++start, ++rip) { copy = WT_ROW_KEY_COPY(rip); (void)__wt_row_leaf_key_info( page, copy, NULL, &cell, NULL, NULL); |