Simon Johansson

Results 6 comments of Simon Johansson

I'll like to vote for this feature. I have two use cases where i have a hard coded cbor map or array that i would like to put into a...

Hello again, I saw your branch and i think it is a good start. I locally just made this change on line 253: ``` while (*tmp_p != 0xFF && payload_len...

Something like this for fuzzing: ```c #include #include #include "coap.h" /* * $ clang -g3 fuzz.c -I../inc -fsanitize=fuzzer,address coap.c memcpy_s.c -o buf2coap.fuzz * $ ./buf2coap.fuzz */ int LLVMFuzzerTestOneInput(const uint8_t *data,...

Pulled in the changes from sanitizers and started that fuzz test. I get a crash here: https://github.com/Fraunhofer-AISEC/uoscore-uedhoc/blob/0b2a48f569952038d660b517c9108db6eb3ed328/modules/oscore/src/coap.c#L250 This is probably due to line 244 (https://github.com/Fraunhofer-AISEC/uoscore-uedhoc/blob/0b2a48f569952038d660b517c9108db6eb3ed328/modules/oscore/src/coap.c#L244), the payload_len will underflow and...

I played with this a little more and made a fork where i do some evaluation: https://github.com/sijohans/uoscore-uedhoc/tree/evaluation I did this: - Created a top level CMakeLists.txt that will build the...

Hello again, I don't have any specific needs but i like to have a project as "pure" as possible. E.g., one easy build system (i like CMake) and so that...