mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-16 13:00:32 +02:00
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> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| run-bolt11.c | ||
| run-cryptomsg.c | ||
| run-derive_basepoints.c | ||
| run-features.c | ||
| run-funding_tx.c | ||
| run-ip_port_parsing.c | ||
| run-json.c | ||
| run-json_escaped.c | ||
| run-json_remove.c | ||
| run-key_derive.c | ||
| run-lock.c | ||
| run-param.c | ||
| run-sphinx.c | ||