core-lightning/contrib
Rusty Russell 0a50301d51 pytest: don't test for memleaks under valgrind.
The next patch perturbed things enough that we suddenly started
getting (with --track-origins=yes):

Valgrind error file: valgrind-errors.120470
==120470== Use of uninitialised value of size 8
==120470==    at 0x14EBD5: htable_val (htable.c:150)
==120470==    by 0x14EC3C: htable_firstval_ (htable.c:165)
==120470==    by 0x14F583: htable_del_ (htable.c:349)
==120470==    by 0x11825D: pointer_referenced (memleak.c:65)
==120470==    by 0x118485: scan_for_pointers (memleak.c:121)
==120470==    by 0x118500: memleak_remove_region (memleak.c:130)
==120470==    by 0x118A30: call_memleak_helpers (memleak.c:257)
==120470==    by 0x118A8B: call_memleak_helpers (memleak.c:262)
==120470==    by 0x118A8B: call_memleak_helpers (memleak.c:262)
==120470==    by 0x118B25: memleak_find_allocations (memleak.c:278)
==120470==    by 0x10EB12: closing_dev_memleak (closingd.c:584)
==120470==    by 0x10F3E2: main (closingd.c:783)
==120470==  Uninitialised value was created by a heap allocation
==120470==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==120470==    by 0x1604E8: allocate (tal.c:250)
==120470==    by 0x160AA9: tal_alloc_ (tal.c:428)
==120470==    by 0x119BE0: new_per_peer_state (per_peer_state.c:24)
==120470==    by 0x11A101: fromwire_per_peer_state (per_peer_state.c:95)
==120470==    by 0x10FB7C: fromwire_closingd_init (closingd_wiregen.c:103)
==120470==    by 0x10ED15: main (closingd.c:626)
==120470==

This is because there is uninitialized padding at the end of struct
peer_state.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-09-23 13:52:49 +09:30
..
init systemd: After=network-online.target 2019-08-20 20:14:36 +02:00
plugins JSON-RPC: getmanifest passes allow-deprecated-apis flag. 2020-08-11 08:43:18 +09:30
pylightning pyln: Add unit tests from pyln-* to make check-python 2020-02-01 16:50:58 +01:00
pyln-client pyln: Add safe fallback results for hooks 2020-09-10 10:27:24 +09:30
pyln-proto pyln: Sets remote_pubkey for LightningConnection if node is not the initiator 2020-09-12 15:06:08 +09:30
pyln-spec pyln-proto, pyln-spec: fix 'make prod-release' target. 2020-06-29 18:01:12 +02:00
pyln-testing pytest: don't test for memleaks under valgrind. 2020-09-23 13:52:49 +09:30
reprobuild repro: Add missing Dockerfiles 2020-09-16 06:27:12 +09:30
bootstrap-node.sh contrib: add executable flag for bootstrap-node.sh 2020-05-05 13:27:55 +09:30
Dockerfile.builder build: add mkrd to docker install? 2020-04-19 08:07:47 +09:30
Dockerfile.builder.fedora build: add mkrd to docker install? 2020-04-19 08:07:47 +09:30
lightning-cli.bash-completion Fix bash completion. 2020-05-15 15:25:33 +02:00
linuxarm32v7.Dockerfile Add python to runtime docker image (arm32/64) 2020-08-24 20:23:25 +02:00
linuxarm64v8.Dockerfile Add python to runtime docker image (arm32/64) 2020-08-24 20:23:25 +02:00
short_channel_id-to-txid.sh Add compability to current formalism to short_channel_id-to-txid.sh 2019-10-04 00:38:52 +00:00
startup_regtest.sh contrib: make bitcoin polling and gossip propagation snappier 2020-09-17 10:14:22 +09:30