mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-02 07:55:46 +03:00
When coap_pdu_parse() returns 0, the contents of pdu are undefined and must not be processed. This change proceeds fuzzer tests only if parsing succeeded. Fixes OSS-Fuzz issue 44503 [1] [1] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=44503