libubox/tests/cram
Dainis Jonitis a36ee96618 blobmsg: blobmsg_add_json_element() 64-bit values
libjson-c json_type_int values are stored as int64_t. Use
json_object_get_int64() instead of json_object_get_int()
to avoid clamping to INT32_MAX.

Reviewed-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Dainis Jonitis <dainis.jonitis@ubnt.com>
[fixed author to match SoB, added unit test results]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-01-20 16:16:49 +01:00
..
inputs blobmsg: fix wrong payload len passed from blobmsg_check_array 2019-12-28 21:17:46 +01:00
CMakeLists.txt add cram based unit tests 2019-11-24 13:26:58 +01:00
test_avl.t tests: add unit tests covered with Clang sanitizers 2019-12-25 10:31:58 +01:00
test_base64.t tests: add unit tests covered with Clang sanitizers 2019-12-25 10:31:58 +01:00
test_blob_parse.t blob: fix OOB access in blob_check_type 2019-12-25 10:31:58 +01:00
test_blobmsg.t blobmsg: blobmsg_add_json_element() 64-bit values 2020-01-20 16:16:49 +01:00
test_blobmsg_parse.t tests: add test cases for blobmsg parsing 2019-12-25 10:31:58 +01:00
test_blobmsg_procd_instance.t blobmsg: fix wrong payload len passed from blobmsg_check_array 2019-12-28 21:17:46 +01:00
test_jshn.t tests: add unit tests covered with Clang sanitizers 2019-12-25 10:31:58 +01:00
test_json_script.t tests: add unit tests covered with Clang sanitizers 2019-12-25 10:31:58 +01:00
test_list.t tests: add unit tests covered with Clang sanitizers 2019-12-25 10:31:58 +01:00
test_runqueue.t tests: add unit tests covered with Clang sanitizers 2019-12-25 10:31:58 +01:00