Commit Graph

9 Commits

Author SHA1 Message Date
Dr. Lars Völker 7f9b8874b5 BPSEC, BPv7, COSE: Bugfix MacOS build
The usage of PRIi64 and PRIu64 may lead to failed builds on MacOS - at
least it did for me.

This patch fixes this.
2021-10-11 11:58:23 +02:00
Brian Sipos bc3bced07d COSE: Handle indefinite tstr/bstr encodings 2021-10-05 21:11:36 +00:00
Stig Bjørlykke 0ca24f01d7 cose: Fix memory leaks
Do not allocate cose_param_key_t in dissect_header_pair(), this may
leak. Use wmem_strdup() to temporary copy a string.

Fixes #17627
2021-10-05 08:18:31 +02:00
Alexis La Goutte 7ca5d99d1e core: Fix -Wdocumentation
packet-cose.c:422:5: warning: '@return' command used in a comment that is attached to a function returning void [-Wdocumentation]
2021-10-03 19:22:06 +00:00
Alexis La Goutte f0da2cf58f core: Fix Wmissing-prototypes
packet-cose.c:1221:6: warning: no previous prototype for function 'proto_reg_handoff_cose' [-Wmissing-prototypes]
packet-cose.c:1185:6: warning: no previous prototype for function 'proto_register_cose' [-Wmissing-prototypes]
2021-10-03 19:22:06 +00:00
Alexis La Goutte 3cce9e3a74 core: Fix Clang Analyzer Warning
Value stored to 'sublen' is never read
2021-10-03 19:22:06 +00:00
Martin Mathieson 0173ea0ec1 COSE: make some functions static 2021-09-30 13:42:24 +00:00
Joakim Karlsson 6d04c07955 COSE: fix might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered] 2021-09-29 14:13:09 +00:00
Brian Sipos abd0f1183f COSE dissector from dtn-wireshark project 2021-09-29 08:51:13 +00:00