Files
libcoap/include/coap2
Jon Shallow 4d039eb01d Options: Sanity check CoAP options in the PDU
include/coap2/pdu.h:
src/pdu.c:
tests/test_pdu.c:

Change parameter max_delta to max_opt to better reflect actual usage.

include/coap2/pdu.h:
src/pdu.c:

Remove unneeded COAP_OPT_LONG and COAP_OPT_END definitions.

Remove unused function coap_add_option_later().

src/pdu.c:

Update coap_pdu_parse_opt() to sanity check the valid lengths of all the
known options.

src/coap_io_lwip.c:
src/net.c:

Ignore packets < 4 bytes
Send back a RST for UDP/DTLS if malformed PDU.

src/option.c:

Clean up coap_option_filter_get() documentation.
2020-10-14 09:26:27 -04:00
..
2020-07-01 10:23:07 +01:00
2019-01-29 15:30:42 +00:00
2020-04-22 17:07:24 +02:00
2019-01-29 15:30:42 +00:00
2020-06-19 17:51:25 +02:00
2019-01-29 15:30:42 +00:00
2020-06-19 17:51:25 +02:00
2019-01-29 15:30:42 +00:00
2020-08-19 11:24:08 +01:00
2019-11-28 16:19:18 +00:00
2020-06-03 10:06:25 +02:00