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

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

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

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

Change-Id: I7bccd9b2cac8940bdac86e23e17ab221a26e7677
parents 711fe85f 9153f7f4
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;
    }