NordicSemiconductor / zcbor

Low footprint C/C++ CBOR library and Python tool providing code generation from CDDL descriptions.
Apache License 2.0
105 stars 34 forks source link

C library: Change usage of strlen to use strnlen #342

Closed oyvindronningstad closed 11 months ago

oyvindronningstad commented 12 months ago

Add a maxlen argument to the _term functions.

sigvartmh commented 12 months ago

Seems for some targets(1 target) it doesn't exist. Maybe check for libc version with this change?