core-lightning/tools
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer.
Christian and I both unwittingly used it in form:

	*tal_arr_expand(&x) = tal(x, ...)

Since '=' isn't a sequence point, the compiler can (and does!) cache
the value of x, handing it to tal *after* tal_arr_expand() moves it
due to tal_resize().

The new version is somewhat less convenient to use, but doesn't have
this problem, since the assignment is always evaluated after the
resize.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-01-15 12:01:38 +01:00
..
build-release.sh build: allow building from source zip file. 2019-01-15 02:18:30 +00:00
check-bolt.c utils: make tal_arr_expand safer. 2019-01-15 12:01:38 +01:00
check-includes.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00
check-manpage.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00
check-markdown.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00
check-setup_locale.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00
check-spelling.sh spelling: Check LockTime Verify. 2018-10-23 16:55:35 +02:00
docker-entrypoint.sh [Docker] Make sure lightningd receive SIGTERM 2018-12-29 13:29:54 +01:00
generate-wire.py tools/generate-wire.py: allocate array members off array in fromwire. 2018-11-22 05:15:42 +00:00
headerversions.c tools: Add missing unistd.h header 2018-12-29 13:34:23 +01:00
mockup.sh param: make command_fail/command_success WARN_UNUSED_RESULT. 2018-12-20 03:22:32 +00:00
refresh-submodules.sh build: allow building from source zip file. 2019-01-15 02:18:30 +00:00
rel.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00
update-mocks.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00