Commit Graph

3 Commits (af02e2ac15631069c7d40ab61182fde2eccd95f3)

Author SHA1 Message Date
Oleg Hahm e628fede2a ubjson: initialize variable
To get rid of a compiler warning.
8 years ago
René Kijewski 80fe12e483 ubjson: initialize variable in error case too
For an invalid input `ubjson_get_i32()` did not return a proper error
code. Because of that `_ubjson_read_length()` could have operated on
uninitialized data.

Found via scan-build.
8 years ago
René Kijewski 118dfd861b Add UBJSON library 9 years ago