libubox/tests
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
..
cram blobmsg: blobmsg_add_json_element() 64-bit values 2020-01-20 16:16:49 +01:00
fuzz tests: fuzz: fuzz _len variants of checking methods 2019-12-25 10:31:58 +01:00
shunit2 tests: include json script shunit2 based testing 2020-01-12 19:17:17 +01:00
CMakeLists.txt tests: include json script shunit2 based testing 2020-01-12 19:17:17 +01:00
test-avl.c add cram based unit tests 2019-11-24 13:26:58 +01:00
test-b64.c add cram based unit tests 2019-11-24 13:26:58 +01:00
test-b64_decode.c base64: fix possible null pointer dereference 2019-11-24 13:26:58 +01:00
test-b64_encode.c base64: fix possible null pointer dereference 2019-11-24 13:26:58 +01:00
test-blob-parse.c tests: use blob_parse_untrusted variant 2019-12-25 10:31:58 +01:00
test-blobmsg-parse.c tests: add test cases for blobmsg parsing 2019-12-25 10:31:58 +01:00
test-blobmsg-procd-instance.c blobmsg: fix wrong payload len passed from blobmsg_check_array 2019-12-28 21:17:46 +01:00
test-blobmsg.c tests: blobmsg/json: add more test cases 2020-01-12 23:11:29 +01:00
test-json-script.c add cram based unit tests 2019-11-24 13:26:58 +01:00
test-list.c add cram based unit tests 2019-11-24 13:26:58 +01:00
test-runqueue.c add cram based unit tests 2019-11-24 13:26:58 +01:00