Merge pull request #8245 from sfc-gh-anoyes/anoyes/initialize-verificationMode

Fix a UBSAN diagnostic caused by use of uninitialized memory
This commit is contained in:
Markus Pilman 2022-09-20 11:32:32 -06:00 committed by GitHub
commit 57806dda91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ struct DiskFailureInjectionWorkload : FailureInjectionWorkload {
// Verification Mode: We run the workload indefinitely in this mode.
// The idea is to keep going until we get a non-zero chaosMetric to ensure
// that we haven't lost the chaos event. testDuration is ignored in this mode
bool verificationMode;
bool verificationMode = false;
DiskFailureInjectionWorkload(WorkloadContext const& wcx, NoOptions) : FailureInjectionWorkload(wcx) {}