mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Test fuzzers against seed corpus under CI ASan build
This commit is contained in:
parent
f1d21fa489
commit
db5248ad85
6 changed files with 50 additions and 4 deletions
|
@ -59,7 +59,7 @@ std::optional<zeek::FuzzBuffer::Chunk> zeek::FuzzBuffer::Next()
|
|||
// for each chunk.
|
||||
rval.data = std::make_unique<unsigned char[]>(rval.size);
|
||||
memcpy(rval.data.get(), chunk_begin, rval.size);
|
||||
return rval;
|
||||
return {std::move(rval)};
|
||||
}
|
||||
|
||||
return {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue