TinyCBOR release 0.5.3

This is a bugfix release. Important bugs fixed in this release:
- Fixed off-by-one error in UTF-8 decoding (#137)
- Fixed build error in json2cbor tool
- Fixed off-by-one error causing buffer overflow in open_memstream (#140)
- Fixed a possible macro expansion error (#141)
- Fixed an out-of-bound access error when a stream ends in a string (#156)
- Fixed a mistake in the documentation that suggested invalid code
- Fixed validation of maps that have an unpaired key (#167)

The project maintainer would like to thank the following people for
contributing to this release:
 Fabrice Fontaine
 Pedro Oliveira
 Sergio Martins
 Svyatoslav Phirsov

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
Parser: validate that maps have both key and value items

If a map end (Break byte) occurs before we've read the concrete item for
the value, then the map is invalid.

Fixes #167

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
3 files changed