Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9153f7f4 authored by David Anderson's avatar David Anderson Committed by Automerger Merge Worker
Browse files

Merge "libsnapshot: Fix crash in MakeXorBlockString test." am: 35cbd4d4

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1909111

Change-Id: Ia0193420dec548250dadbd9543b42ad706d1856e
parents 57f6957a 35cbd4d4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -155,8 +155,8 @@ class OfflineSnapshotTest : public ::testing::Test {
    }

    std::string MakeXorBlockString() {
        std::string data(100, -1);
        data.resize(kBlockSize, 0);
        std::string data(kBlockSize, 0);
        memset(data.data(), 0xff, 100);
        return data;
    }