7 Commits
Author SHA1 Message Date
Pierce Lopez 0fd3b7d316 random_seed: on error, continue to next method
instead of exiting the process
2020-10-07 01:22:30 -04:00
Pierce Lopez 003b58782b fix json_parse_uint64() usage of errno
introduced in #542
fixes #601
2020-05-10 13:38:12 -04:00
Pierce Lopez 090ae4e4d4 json_parse demo: fix and use usage() function 2020-05-08 18:27:35 -04:00
Pierce Lopez 634900d270 tests: appease -Wwrite-strings 2019-06-09 12:17:06 -04:00
Pierce Lopez 44605744dc build: fix compiler option -Wwrite-strings
was typod as -Wwrite-string
2019-06-09 10:55:50 -04:00
Pierce Lopez 21c886534f build: add --disable-werror option to configure
to omit -Werror compiler option
2019-06-09 10:53:56 -04:00
Pierce Lopez 868b20ce4e initialize null terminator of new printbuf
It's possible (e.g. by using json_object_from_file() on an empty file)
to get json-c to try to use a printbuf that has never had anything
written to it. Before this change, it could access a string that
should be length zero, but was never initialized, and could
theoretically have an unexpected string.
2016-07-16 00:30:31 -04:00