PJK / libcbor

CBOR protocol implementation for C
MIT License
341 stars 95 forks source link

Fix cbor_serialized_size for zero-len strings #260

Closed PJK closed 1 year ago

PJK commented 1 year ago

Fixes #259

Huge thanks for @martelletto for quickly reporting this!

Minor release will follow to patch v0.10

codecov-commenter commented 1 year ago

Codecov Report

Merging #260 (2393275) into master (d9e3d17) will increase coverage by 0.12%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #260      +/-   ##
==========================================
+ Coverage   99.57%   99.69%   +0.12%     
==========================================
  Files          20       20              
  Lines        1651     1655       +4     
==========================================
+ Hits         1644     1650       +6     
+ Misses          7        5       -2     
Impacted Files Coverage Δ
src/cbor/serialization.c 100.00% <100.00%> (ø)
src/cbor/streaming.c 100.00% <0.00%> (+0.99%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more