f28d0f1b7b
sys: add Kconfig support for clif
2023-05-19 15:03:42 +02:00
Teufelchen1
8c295ab7cf
sys/clif: Fixing out of bounds read under certain conditions
2023-02-23 15:45:03 +01:00
Teufelchen1
499b635ae9
sys/clif: Fixing out of bounds read under certain conditions
2022-10-26 13:44:01 +02:00
Leandro Lanzieri
311ed225ae
sys/clif: fix attribute parsing and comply with tests
2021-03-05 16:47:53 +01:00
Sören Tempel
0d141bf93a
clif: Don't access any data if input is empty
...
This is relevant as clif_decode_link may invoke clif_get_attr with
input_len == 0.
2021-02-08 13:42:18 +01:00
Sören Tempel
767e700a5f
clif: After incrementing pos, make sure it is still in bounds
...
While the for-loop condition does contain a bounds check, the pointer is
independently increment in the for-loop body. This increment therefore
requires a separate bounds check. Otherwise, the parsing loop may access
data outside the given buffer boundaries.
2021-02-08 11:29:44 +01:00
Bas Stottelaar
1b35d06a51
sys/*: realign ENABLE_DEBUG
2020-10-23 11:27:48 +02:00
46c3964ee8
sys/clif: use ARRAY_SIZE
2019-11-23 22:39:40 +01:00
2a27ef5d8f
sys/clif: fix typos
2019-11-23 22:39:37 +01:00
Leandro Lanzieri
5febec820d
sys: Add clif (CoRE Link Format) module
...
This module implements a simple encoder and decoder of CoRE Link Format
(RFC 6690).
2019-10-04 11:35:52 +02:00