cln/common/test
Rusty Russell 8f09f0c154 common: fix ubsan trigger in param test.
```
common/test/run-param.c:381:8: runtime error: applying zero offset to null pointer
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior common/test/run-param.c:381:8
```

Probably because CI now on 24.04, so more recent clang.  But the test really does
want to see what happens when the callback is NULL, so workaround.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2026-01-07 09:42:11 +10:30
..
Makefile global: use clock_time in place of time_now(). 2025-11-13 21:21:29 +10:30
onion-test-v0.json sphinx: Introduce a runtest command to the onion tool 2019-07-30 02:14:49 +00:00
run-amount.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-base64.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bigsize.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-blindedpath_enctlv.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-blindedpath_onion.c common: provide readable explanation when onion payload is invalid. 2024-11-20 12:29:27 +01:00
run-bolt11.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12-encode-test.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12-format-string-test.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12-offer-decode.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12_decode.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12_merkle-json.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12_merkle.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-bolt12_period.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-channel_type.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-codex32.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-coin_mvt.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-cryptomsg.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-deprecation.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-derive_basepoints.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-features.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-gossmap-fp16.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-gossmap_canned.c unit tests: update all the gossmaps to have the GOSSIP_STORE_COMPLETED_BIT set. 2025-10-01 13:29:33 +09:30
run-gossmap_local.c unit tests: update all the gossmaps to have the GOSSIP_STORE_COMPLETED_BIT set. 2025-10-01 13:29:33 +09:30
run-htable.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-ip_port_parsing.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-json.c global: use clock_time in place of time_now(). 2025-11-13 21:21:29 +10:30
run-json_filter.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-json_remove.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-json_scan.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-json_stream-filter.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-jsonrpc_io.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-key_derive.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-lease_rates.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-marginal_feerate.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-onion-message-test.c common: sphinx_path_new to take explicit len. 2024-11-18 11:03:26 +10:30
run-onion-test-vector.c ccan: update to get improved grab_file API, and adapt code. 2025-10-26 12:37:58 +10:30
run-param.c common: fix ubsan trigger in param test. 2026-01-07 09:42:11 +10:30
run-psbt_diff.c pseudorand: make the results in deterministic mode per-caller. 2025-11-13 21:21:29 +10:30
run-route-infloop.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-route-specific.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-route.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-route_blinding_onion_test.c ccan: update to get improved grab_file API, and adapt code. 2025-10-26 12:37:58 +10:30
run-route_blinding_test.c global: use clock_time in place of time_now(). 2025-11-13 21:21:29 +10:30
run-shutdown_scriptpubkey.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-sphinx-xor_cipher_stream.c common: translate legacy onion payloads. 2024-05-29 12:40:01 -05:00
run-sphinx.c common: provide readable explanation when onion payload is invalid. 2024-11-20 12:29:27 +01:00
run-splice_script.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-tal_arr_randomize.c common: add amount_feerate helper. 2023-11-01 14:11:28 +10:30
run-tlv_span.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-tlv_unknown.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-trace.c common/test/run-trace: increase iterations for trivial benchmarking. 2025-04-23 13:45:18 +09:30
run-version.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
run-wireaddr.c global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30