Skip to content

QCBOR 1.1

Compare
Choose a tag to compare
@laurencelundblade laurencelundblade released this 08 Aug 17:40
· 78 commits to master since this release
07653df

QCBOR 1.1 is some small feature additions and some small bug fixes.

The bug fixes are primarily for decoding malformed input. There are
no security issues (no buffer overruns), though in one case an infinite loop occurs.

There are no compatibility issues relative to QCBOR 1.0. The only
API change is the addition of QCBOREncode_OpenBytes and related. The QCBOR_1_1 is #define'd to indicate the version is 1.1.

It is recommended that all users of QCBOR pick up this release.
It is a simple upgrade.

Features

  • Add QCBOREncode_OpenBytes()
  • Improved documentation for disabling parts of QCBOR
  • Improved examples

Fixes

  • Better naming of #defines for standard tag numbers
  • All floating point tests are now properly disabled when all floating point is disabled.
  • Bad input (e.g., not well formed maps) would result in an infinite loop for some spiffy decode API use.
  • Fix compiler warnings with Microsoft compiler
  • Calling QCBOREncode_CloseArray() and related incorrectly (multiple times) could put QCBOR in an undefined state.
  • Zero-length indefinite-length string chunks are now correctly ignored rather than causing an error.