core-lightning/lightningd
practicalswift ab0c26be91 Check return value of json_get_params(...) call in json_getlog(...) and json_getpeers(...)
All other users of json_get_params(...) check the return value:

```
lightningd/chaintopology.c:     if (!json_get_params(buffer, params,
lightningd/chaintopology.c:     if (!json_get_params(buffer, params,
lightningd/dev_ping.c:  if (!json_get_params(buffer, params,
lightningd/gossip_control.c:    if (!json_get_params(buffer, params,
lightningd/invoice.c:   if (!json_get_params(buffer, params,
lightningd/invoice.c:   if (!json_get_params(buffer, params,
lightningd/invoice.c:   if (!json_get_params(buffer, params,
lightningd/invoice.c:   if (!json_get_params(buffer, params,
lightningd/invoice.c:   if (!json_get_params(buffer, params, "label", &labeltok, NULL)) {
lightningd/invoice.c:   if (!json_get_params(buffer, params,
lightningd/jsonrpc.c:   if (!json_get_params(buffer, params,
lightningd/pay.c:       if (!json_get_params(buffer, params,
lightningd/pay.c:       if (!json_get_params(buffer, params,
lightningd/peer_control.c:      if (!json_get_params(buffer, params,
lightningd/peer_control.c:      if (!json_get_params(buffer, params,
lightningd/peer_control.c:      if (!json_get_params(buffer, params,
lightningd/peer_control.c:      if (!json_get_params(buffer, params,
lightningd/peer_control.c:      if (!json_get_params(buffer, params,
lightningd/peer_control.c:      if (!json_get_params(buffer, params,
wallet/walletrpc.c:     if (!json_get_params(buffer, params,
wallet/walletrpc.c:     if (!json_get_params(buffer, params, "tx", &txtok, NULL)) {
```
2018-01-10 23:43:50 +00:00
..
test wallet: Added unilateral close info to utxo 2018-01-08 17:19:25 +01:00
.gitignore handshaked: remove. 2017-10-20 18:31:32 +02:00
bitcoind.c bitcoind: delete chaintips code. 2017-12-21 14:33:27 +01:00
bitcoind.h bitcoind: delete chaintips code. 2017-12-21 14:33:27 +01:00
build_utxos.c wallet: Use newindex primitive to generate change key index 2018-01-08 17:19:25 +01:00
build_utxos.h build_utxos: fix weight calculation, and make more accurate. 2017-12-20 12:56:15 +01:00
chaintopology.c lightningd: suppress feerate debug messages when nothing changes. 2018-01-10 16:55:36 +01:00
chaintopology.h chain_topology: two-stage startup. 2018-01-05 15:05:21 +01:00
dev_ping.c jsonrpc: make explicit call to indicate cmd is still pending. 2017-12-20 12:43:10 +01:00
gossip_control.c json_getchannels: add public flag. 2018-01-08 18:09:31 +01:00
gossip_control.h gossipd: rewrite to do the handshake internally. 2017-10-20 18:31:32 +02:00
gossip_msg.c json_getchannels: add public flag. 2018-01-08 18:09:31 +01:00
gossip_msg.h json_getchannels: add public flag. 2018-01-08 18:09:31 +01:00
hsm_control.c hsm: Cleanup after merging control and client libraries 2017-12-03 17:06:13 +01:00
hsm_control.h lightningd/hsm_control: use a simple fd for HSM. 2017-06-27 10:25:53 +09:30
htlc_end.c htlc_out: initialize hout->key.id, in case we destroy it before setting. 2017-12-21 09:13:28 +01:00
htlc_end.h htlc_out: initialize hout->key.id, in case we destroy it before setting. 2017-12-21 09:13:28 +01:00
invoice.c invoice: Modify waitanyinvoice interface to use pay_index. 2018-01-03 01:12:49 +00:00
invoice.h invoice: Add pay_index member to struct invoice. 2018-01-03 01:12:49 +00:00
jsonrpc.c Check return value of json_get_params(...) call in json_getlog(...) and json_getpeers(...) 2018-01-10 23:43:50 +00:00
jsonrpc.h bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
lightningd.c lightningd: Do not search for ourself in the daemon dir. 2018-01-09 14:52:48 +01:00
lightningd.h lightningd: Add --test-daemons-only option. 2018-01-09 14:52:48 +01:00
log.c log: mark ltmp as notleak. 2017-12-20 12:43:10 +01:00
log.h memleak: add backtrace to allocations. 2017-12-20 12:43:10 +01:00
Makefile lightningd: tal memleak detection, dev-memleak command. 2017-12-20 12:43:10 +01:00
memdump.c lightningd: require explicit LIGHTNINGD_DEV_MEMLEAK env var to do memleak. 2017-12-20 12:43:10 +01:00
netaddress.c wireaddr: add ip[:port] parsing 2017-12-21 09:56:20 +00:00
netaddress.h wireaddr: add ip[:port] parsing 2017-12-21 09:56:20 +00:00
opt_time.c common: absorb remaining files from daemon/ 2017-08-29 17:54:14 +02:00
opt_time.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
options.c lightningd: Add --test-daemons-only option. 2018-01-09 14:52:48 +01:00
options.h ipaddr: rename to wireaddr. 2017-10-26 21:01:09 +00:00
pay.c pay: close leaks. 2017-12-20 12:43:10 +01:00
pay.h lightningd: unify pay vs forward path when handling failures. 2017-06-23 09:29:42 +09:30
peer_control.c Check return value of json_get_params(...) call in json_getlog(...) and json_getpeers(...) 2018-01-10 23:43:50 +00:00
peer_control.h chain_topology: two-stage startup. 2018-01-05 15:05:21 +01:00
peer_htlcs.c wallet: save block height when we first create channel. 2018-01-05 15:05:21 +01:00
peer_htlcs.h htlc: Defer saving the outgoing payment until we store the HTLC 2017-11-23 23:45:28 +00:00
peer_state.h gossipd: rewrite to do the handshake internally. 2017-10-20 18:31:32 +02:00
subd.c Make sure fsync, connect and close are never accidentally passed negative arguments 2018-01-09 14:50:50 +01:00
subd.h subd: wrap all message callbacks in a transaction. 2017-11-06 10:24:34 +01:00
txfilter.c txfilter: Expose the txfilter_add_scriptpubkey function 2018-01-08 17:19:25 +01:00
txfilter.h txfilter: Expose the txfilter_add_scriptpubkey function 2018-01-08 17:19:25 +01:00
watch.c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
watch.h bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00