mirror of https://github.com/google/oss-fuzz.git
Ovs syslog clean disable (#1558)
* Openvswitch: Disable logging only once
This commit is contained in:
parent
7690a138a9
commit
a8b52adff6
|
@ -22,10 +22,14 @@
|
|||
|
||||
int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
||||
{
|
||||
static bool isInit = false;
|
||||
struct ofpbuf b;
|
||||
if (size < sizeof(struct ofp_header)) return 0;
|
||||
|
||||
vlog_set_verbosity("off");
|
||||
if (!isInit) {
|
||||
vlog_set_verbosity("off");
|
||||
isInit = true;
|
||||
}
|
||||
|
||||
ofpbuf_use_const(&b, data, size);
|
||||
for (;;) {
|
||||
|
|
Loading…
Reference in New Issue