Merge pull request #2074 from Kiprey/patch-2

Fix wrong warning in SanitizerCoverageLTO.so.cc
This commit is contained in:
van Hauser
2024-04-29 17:11:41 +02:00
committed by GitHub

View File

@ -486,7 +486,7 @@ bool ModuleSanitizerCoverageLTO::instrumentModule(
if ((ptr = getenv("AFL_LLVM_DOCUMENT_IDS")) != NULL) {
dFile.open(ptr, std::ofstream::out | std::ofstream::app);
if (dFile.is_open()) WARNF("Cannot access document file %s", ptr);
if (!dFile.is_open()) WARNF("Cannot access document file %s", ptr);
}