Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ISSUE #1737: EntryMemTable.newEntry: always make a copy
Retaining a reference to that array assumes that the caller won't reuse the array for something else -- an assumption violated by Journal.scanJournal and probably other callers. (bug W-5499346) (rev cguttapalem) Signed-off-by: Samuel Just <sjustsalesforce.com> Author: Reviewers: Enrico Olivelli <eolivelligmail.com>, Matteo Merli <mmerliapache.org>, Sijie Guo <sijieapache.org> This closes #1744 from athanatos/forupstream/wip-1737, closes #1737 (cherry picked from commit df65958) Author: Sijie Guo <sijie@apache.org> Author: Enrico Olivelli <eolivelli@apache.org> Author: Matteo Merli <mmerli@apache.org> Author: Samuel Just <sjust@salesforce.com> Author: Nicolas Michael <nmichael@salesforce.com> Author: Jia Zhai <zhaijia@apache.org> Author: Sijie Guo <guosijie@gmail.com> Author: cguttapalem <cguttapalem@salesforce.com> Author: Ivan Kelly <ivank@apache.org> Author: JV Jujjuri <vjujjuri@salesforce.com> Author: Andrey Yegorov <dlg99@users.noreply.github.com> Author: Ivan Kelly <ivan@ivankelly.net> Author: Ethan Li <ethanopensource@gmail.com> Author: arunlakshman <arunmuthuravi@gmail.com> Author: Qi Wang <codingwangqi@gmail.com> Author: Andrey Yegorov <ayegorov@salesforce.com> Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Sijie Guo <sijie@apache.org> This closes #1746 from athanatos/forupstream/wip-1744-4.7, closes #1737
- Loading branch information