Merge "libsnapshot: Fix crash in MakeXorBlockString test."
This commit is contained in:
commit
35cbd4d472
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue