diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-10-20 11:30:59 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-10-23 09:59:39 +0200 |
| commit | b71450d9fbb6e1d07d83b01d2f2fe4b41c5cdefb (patch) | |
| tree | 1cfe7f7330e15879d6cfcb58e44a318c5b36e5d2 /executor/executor_fuchsia.cc | |
| parent | 3c6fe803958431367baa476f5e591cf6d749640a (diff) | |
executor: prevent executor from messing with output region
When comparisons are enabled fuzzer somehow manages to discover
the output region and corrupt it. It seems to fetch the address
from some memory operations (mmap/munmap).
Don't leak the output region address.
Diffstat (limited to 'executor/executor_fuchsia.cc')
| -rw-r--r-- | executor/executor_fuchsia.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/executor/executor_fuchsia.cc b/executor/executor_fuchsia.cc index a93811928..05ded7857 100644 --- a/executor/executor_fuchsia.cc +++ b/executor/executor_fuchsia.cc @@ -61,3 +61,8 @@ uint32_t* write_output(uint32_t v) void write_completed(uint32_t completed) { } + +bool kcov_comparison_t::ignore() const +{ + return false; +} |
