diff options
Diffstat (limited to 'src/libsystemd-network/fuzz-lldp-rx.c')
-rw-r--r-- | src/libsystemd-network/fuzz-lldp-rx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-network/fuzz-lldp-rx.c b/src/libsystemd-network/fuzz-lldp-rx.c index 2d8e201854..64f96ae2cb 100644 --- a/src/libsystemd-network/fuzz-lldp-rx.c +++ b/src/libsystemd-network/fuzz-lldp-rx.c @@ -26,6 +26,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { if (outside_size_range(size, 0, 2048)) return 0; + fuzz_setup_logging(); + assert_se(sd_event_new(&e) == 0); assert_se(sd_lldp_rx_new(&lldp_rx) >= 0); assert_se(sd_lldp_rx_set_ifindex(lldp_rx, 42) >= 0); |