1
0
mirror of https://github.com/DaveGamble/cJSON synced 2024-12-25 08:02:03 +00:00
cJSON/tests
Max Bruckner 954d61e5e7 Fix #189, ensure returns an invalid pointer
If realloc returns NULL, ensure didn't abort but returned
printbuffer.offset instead. If an attacker can control
printbuffer.offset and also make realloc fail at just the right moment,
this would make cJSON potentially write at an arbitrary memory address.
2017-07-12 23:02:31 +02:00
..
inputs print_number: Remove trailing zeroes (for doubles) 2017-03-01 13:22:32 +01:00
json-patch-tests Update json-patch-tests 2017-05-02 01:56:12 +02:00
unity Update Unity 2017-06-04 19:36:46 +02:00
CMakeLists.txt misc_utils_tests: call all utils function with NULL pointers 2017-06-28 16:01:20 +02:00
common.c Replace sizeof('\0') with sizeof("") 2017-04-08 01:29:19 +02:00
common.h tests/common: use CJSON_PUBLIC 2017-03-01 23:16:19 +01:00
compare_tests.c cJSON_Compare: Fix comparison of objects 2017-06-14 17:48:56 +02:00
json_patch_tests.c json_patch_tests.c: Use case sensitive functions 2017-05-02 01:54:49 +02:00
misc_tests.c Fix #189, ensure returns an invalid pointer 2017-07-12 23:02:31 +02:00
misc_utils_tests.c misc_utils_tests: call all utils function with NULL pointers 2017-06-28 16:01:20 +02:00
old_utils_tests.c old_utils_tests: Remove leftover unused attribute 2017-05-10 01:15:28 +02:00
parse_array.c Move 'hooks' parameter into buffers (parse/print) 2017-04-27 02:48:28 +02:00
parse_examples.c tests: extract common functionality to common.c 2017-02-15 21:25:51 +01:00
parse_hex4.c tests/parse_hex4: Fix GCC 7 compiler warning (fixes #179) 2017-06-04 21:29:14 +02:00
parse_number.c Move 'hooks' parameter into buffers (parse/print) 2017-04-27 02:48:28 +02:00
parse_object.c Move 'hooks' parameter into buffers (parse/print) 2017-04-27 02:48:28 +02:00
parse_string.c Move 'hooks' parameter into buffers (parse/print) 2017-04-27 02:48:28 +02:00
parse_value.c Move 'hooks' parameter into buffers (parse/print) 2017-04-27 02:48:28 +02:00
parse_with_opts.c parse_with_opts: test return_parse_end 2017-04-08 17:56:27 +02:00
print_array.c Move 'hooks' parameter into buffers (parse/print) 2017-04-27 02:48:28 +02:00
print_number.c Merge pull request #153 from DeboraG/print_number_prec 2017-04-29 19:56:58 +02:00
print_object.c Move 'hooks' parameter into buffers (parse/print) 2017-04-27 02:48:28 +02:00
print_string.c Move 'hooks' parameter into buffers (parse/print) 2017-04-27 02:48:28 +02:00
print_value.c Move 'hooks' parameter into buffers (parse/print) 2017-04-27 02:48:28 +02:00