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

zcbor_decode.c: Fix "'num_decode' may be used uninitialized" #376

Closed oyvindronningstad closed 6 months ago

oyvindronningstad commented 6 months ago

This can happen when ZCBOR_STOP_ON_ERROR is enabled.