ubj icon indicating copy to clipboard operation
ubj copied to clipboard

UBJSON C/C++ libraries

Results 3 ubj issues
Sort by recently updated
recently updated
newest added

When using negative lengths for strings there is a crash. There seems to be no validation on the string length or the result of malloc, so negative or huge values...

see https://github.com/ubjson/universal-binary-json/issues/61#issuecomment-492445324 Fixed a few gcc warnings, added the missing `ubjw_begin_ndarray()` function. valgrind now gives me a lost buffer inside `priv_ubjr_read_raw_array()` which I modified, I suspect it is related to...

Two bugs found: 1. There is a size_t comparison >= 0 of constant, which always evaluates to TRUE as size_t is unsigned 2. The size of an Array/Object can be...