sdong a70d08ec07 Fix the bug of using freed memory introduced by recent plain table reader patch
Summary: Recent patch introduced a bug that if non-mmap mode is used, in prefix encoding case, there is a resizing of cur_key_ within the same prefix, we still read prefix from the released buffer. It fails ASAN tests and this commit fixes it.

Test Plan: Run the ASAN tests for the failing test case.

Reviewers: IslamAbdelRahman, yhchiang, anthony, igor, kradhakrishnan, rven

Subscribers: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D47457
2015-09-23 16:16:26 -07:00
..
2015-04-23 21:33:44 -07:00
2014-09-04 09:10:13 +08:00
2014-10-31 11:59:54 -07:00
2015-03-17 14:08:00 -07:00
2015-09-17 11:42:56 -07:00
2014-11-06 11:14:28 -08:00
2015-02-26 11:28:41 -08:00