rgb-cln/common/test
Rusty Russell 7b59e26dd7 jsmn: upgrade so JSMN_OBJECT's size parameter is usable.
jsmn would accept invalid JSON objects.  This is bad because it would
set ->size incorrectly: we expect to have at least size * 2 tokens (in
pairs).  We want to rely on ->size, but this would create an exploitable
buffer overflow!

Fortunately, this is fixed upstream, so we add a test and upgrade to v1.0.0.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-01-17 16:22:32 +01:00
..
Makefile common/test: add spec tests for bolt11. 2017-11-24 13:22:18 +01:00
run-bolt11.c bolt: Updated the BOLT specification to the latest version 2019-01-15 02:19:56 +00:00
run-cryptomsg.c common/cryptomsg: remove unused async routines. 2018-09-28 04:14:28 +00:00
run-derive_basepoints.c Call wally_init(0) on startup to enabled assembly-optimised SHA-256 2018-11-21 01:18:24 +00:00
run-features.c Call wally_init(0) on startup to enabled assembly-optimised SHA-256 2018-11-21 01:18:24 +00:00
run-funding_tx.c signature: wrap almost all signatures in struct bitcoin_signature. 2018-12-06 23:11:51 +01:00
run-ip_port_parsing.c Tor: don't do seed queries if we're supposed to always use proxy. 2018-05-10 02:28:44 +00:00
run-json.c jsmn: upgrade so JSMN_OBJECT's size parameter is usable. 2019-01-17 16:22:32 +01:00
run-json_escaped.c Move json and param core functionality into common, for plugins. 2018-12-10 00:00:50 +00:00
run-json_remove.c common/json: add context arg to json_parse_input. 2018-12-10 00:00:50 +00:00
run-key_derive.c lightningd/test: move some tests to common/ and channeld/ 2018-12-06 23:11:51 +01:00
run-lock.c common: Add a test for io_lock 2018-10-11 01:43:55 +00:00
run-param.c common/test/run-param: fix parsing test. 2019-01-17 16:22:32 +01:00
run-sphinx.c Don't advertise features we don't have in run-sphinx 2018-07-31 16:30:56 +02:00