mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-02 07:55:46 +03:00
OSS-FUZZ: Stop actual packet transmissions
Make sure all packets are dropped in persist_target.c.
This commit is contained in:
1 parent
c056e91ddb
commit
0014440160
1 file changed
+1
@@ -83,6 +83,7 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
|
||||
coap_startup();
|
||||
coap_set_log_level(COAP_LOG_EMERG);
|
||||
coap_debug_set_packet_loss("100%");
|
||||
|
||||
coap_context_t *ctx = coap_new_context(NULL);
|
||||
if (!ctx)
|
||||
|
||||
Reference in new issue
Block a user