mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-08 18:32:53 +03:00
oss-fuzz: Addressed comment by @obgm
This commit is contained in:
1 parent
c9ec873053
commit
fb2e227d5e
1 file changed
+2
-2
@@ -1,7 +1,7 @@
|
||||
#include <coap.h>
|
||||
|
||||
int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
||||
{
|
||||
int
|
||||
LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
coap_pdu_t *pdu = coap_pdu_init(0, 0, 0, size);
|
||||
if (pdu) {
|
||||
coap_pdu_parse(COAP_PROTO_UDP, data, size, pdu);
|
||||
|
||||
Reference in new issue
Block a user