forked from OSchip/llvm-project
[libFuzzer] don't print bogus error message
llvm-svn: 277940
This commit is contained in:
parent
bc573ca1b8
commit
ff1f2107ec
|
@ -129,8 +129,9 @@ class CoverageController {
|
|||
C->PcBufferPos = NewPcBufferPos;
|
||||
}
|
||||
|
||||
if (NewPcBufferPos >= PcBufferLen) {
|
||||
Printf("ERROR: PC buffer overflow.\n");
|
||||
if (PcBufferLen && NewPcBufferPos >= PcBufferLen) {
|
||||
Printf("ERROR: PC buffer overflow\n");
|
||||
_Exit(1);
|
||||
}
|
||||
|
||||
return Res;
|
||||
|
|
Loading…
Reference in New Issue